Dela via


FormatterCollection<TFormatter> Class

Definition

Represents a collection of formatters.

generic <typename TFormatter>
public ref class FormatterCollection : System::Collections::ObjectModel::Collection<TFormatter>
public class FormatterCollection<TFormatter> : System.Collections.ObjectModel.Collection<TFormatter>
type FormatterCollection<'Formatter> = class
    inherit Collection<'Formatter>
Public Class FormatterCollection(Of TFormatter)
Inherits Collection(Of TFormatter)

Type Parameters

TFormatter

The type of formatters in the collection.

Inheritance
Collection<TFormatter>
FormatterCollection<TFormatter>

Constructors

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.

Methods

RemoveType(Type)

Removes all formatters of the specified type.

RemoveType<T>()

Removes all formatters of the specified type.

Applies to