Upraviť

Zdieľať cez


KeyedByTypeCollection<TItem> Constructors

Definition

Initializes a new instance of the KeyedByTypeCollection<TItem> class.

Overloads

KeyedByTypeCollection<TItem>()

Initializes a new instance of the KeyedByTypeCollection<TItem> class.

KeyedByTypeCollection<TItem>(IEnumerable<TItem>)

Initializes a new instance of the KeyedByTypeCollection<TItem> class for a specified enumeration of objects.

KeyedByTypeCollection<TItem>()

Source:
KeyedByTypeCollection.cs
Source:
KeyedByTypeCollection.cs
Source:
KeyedByTypeCollection.cs

Initializes a new instance of the KeyedByTypeCollection<TItem> class.

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

Applies to

KeyedByTypeCollection<TItem>(IEnumerable<TItem>)

Source:
KeyedByTypeCollection.cs
Source:
KeyedByTypeCollection.cs
Source:
KeyedByTypeCollection.cs

Initializes a new instance of the KeyedByTypeCollection<TItem> class for a specified enumeration of objects.

public:
 KeyedByTypeCollection(System::Collections::Generic::IEnumerable<TItem> ^ items);
public KeyedByTypeCollection (System.Collections.Generic.IEnumerable<TItem> items);
new System.Collections.Generic.KeyedByTypeCollection<'Item> : seq<'Item> -> System.Collections.Generic.KeyedByTypeCollection<'Item>
Public Sub New (items As IEnumerable(Of TItem))

Parameters

items
IEnumerable<TItem>

The IEnumerable<T> of generic type Object used to initialize the collection.

Exceptions

items is null.

Applies to