Share via


FormatterCollection<TFormatter> Konstruktory

Definice

Přetížení

FormatterCollection<TFormatter>()

Inicializuje novou instanci FormatterCollection<TFormatter> třídy, která je prázdná.

FormatterCollection<TFormatter>(IList<TFormatter>)

Inicializuje novou instanci FormatterCollection<TFormatter> třídy jako obálku pro zadaný seznam.

FormatterCollection<TFormatter>()

Zdroj:
FormatterCollection.cs
Zdroj:
FormatterCollection.cs

Inicializuje novou instanci FormatterCollection<TFormatter> třídy, která je prázdná.

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

Platí pro

FormatterCollection<TFormatter>(IList<TFormatter>)

Zdroj:
FormatterCollection.cs
Zdroj:
FormatterCollection.cs

Inicializuje novou instanci FormatterCollection<TFormatter> třídy jako obálku pro zadaný seznam.

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))

Parametry

list
IList<TFormatter>

Seznam, který je zabalen v nové kolekci.

Platí pro