FormatterCollection<TFormatter> Constructors

Definition

Overloads

FormatterCollection<TFormatter>()

Initializes a new instance of the FormatterCollection<TFormatter> class that is empty.

FormatterCollection<TFormatter>(IList<TFormatter>)

Initializes a new instance of the FormatterCollection<TFormatter> class as a wrapper for the specified list.

FormatterCollection<TFormatter>()

Source:
FormatterCollection.cs
Source:
FormatterCollection.cs
Source:
FormatterCollection.cs

Initializes a new instance of the FormatterCollection<TFormatter> class that is empty.

public:
 FormatterCollection();
public FormatterCollection ();
Public Sub New ()

Applies to

FormatterCollection<TFormatter>(IList<TFormatter>)

Source:
FormatterCollection.cs
Source:
FormatterCollection.cs
Source:
FormatterCollection.cs

Initializes a new instance of the FormatterCollection<TFormatter> class as a wrapper for the specified list.

public:
 FormatterCollection(System::Collections::Generic::IList<TFormatter> ^ list);
public FormatterCollection (System.Collections.Generic.IList<TFormatter> list);
new Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<'Formatter> : System.Collections.Generic.IList<'Formatter> -> Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<'Formatter>
Public Sub New (list As IList(Of TFormatter))

Parameters

list
IList<TFormatter>

The list that is wrapped by the new collection.

Applies to