Click or drag to resize

FastKeyedCollection<TKey, TItem> Constructor (IEnumerable<TItem>, Func<TItem, TKey>)

Namespace:  Cauldron.Collections
Assembly:  Cauldron.Collections (in Cauldron.Collections.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public FastKeyedCollection(
	IEnumerable<TItem> items,
	Func<TItem, TKey> keySelector
)

Parameters

items
Type: System.Collections.Generic.IEnumerable<TItem>
A collection of elements to initially add to the FastKeyedCollection<TKey, TItem>
keySelector
Type: System.Func<TItem, TKey>
A function to extract a key from each element.
See Also