EnumeratorKeyWrapperT, TKey Class |
Wrapping of an IEnumeratorT of T to an IEnumeratorT of TKey, where the provided key selector can extract from T a key of type TKey.
This will make the enumerator available as having key class elements, without copying the content of the enumerator.
Namespace: DHI.Mike1D.Generic.Collections
public class EnumeratorKeyWrapper<T, TKey> : IEnumerator<TKey>, IDisposable, IEnumerator
The EnumeratorKeyWrapperT, TKey type exposes the following members.
Name | Description | |
---|---|---|
EnumeratorKeyWrapperT, TKey |
Create a new wrapper object that wraps the provided enumerator
|
Name | Description | |
---|---|---|
Current | Gets the element in the collection at the current position of the enumerator. |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveNext | Advances the enumerator to the next element of the collection. | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |