EnumerableKeyWrapperT, TKey Constructor |
Create a new wrapper object that wraps the provided enumerable
Namespace:
DHI.Mike1D.Generic.Collections
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public EnumerableKeyWrapper(
IEnumerable<T> enumerable,
Func<T, TKey> keySelector
)
Parameters
- enumerable
- Type: System.Collections.GenericIEnumerableT
Enumerable to wrap - keySelector
- Type: SystemFuncT, TKey
Delegate that extracts a key from the object in the wrapped enumerator
See Also