Struct ProfiledCommandEnumerable.Enumerator
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Implements IEnumerator for ProfiledCommandEnumerable. This implementation is comparable to List.Enumerator and Dictionary.Enumerator, and is provided to reduce allocations in the common (ie. foreach) case.
This type is not threadsafe.
public struct ProfiledCommandEnumerable.Enumerator : IEnumerator<IProfiledCommand>, IDisposable, IEnumerator
- Implements
- Inherited Members
Properties
Current
The current element.
public IProfiledCommand Current { get; }
Property Value
Methods
Dispose()
Disposes the enumeration. subsequent attempts to enumerate results in undefined behavior.
public void Dispose()
MoveNext()
Advances the enumeration, returning true if there is a new element to consume and false if enumeration is complete.
public bool MoveNext()
Returns
Reset()
Resets the enumeration.
public void Reset()