DebuggingCollection<T>.DebuggingCollectionEnumerator<TInnerType>
A class in Root.Township, Alta.Utilities.
Enumerator for DebuggingCollection that tracks whether enumeration is under way, so the collection can log changes made while iterating.
- Listed in Utilities and other Alta namespaces
- Nested in
DebuggingCollection<T> - Inherits or implements
IEnumerator<TInnerType>,IEnumerator,IDisposable
Constructors
| Member | What it is |
|---|---|
DebuggingCollectionEnumerator(IEnumerator<TInnerType> enumerator, Action enumerationFinishedCallback) | Creates a DebuggingCollection from enumerator and enumerationFinishedCallback. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
TInnerType Current { get; } | The current item of the wrapped enumerator. |
bool IsEnumerating { get; private set; } | True until MoveNext returns false. |
1 private and internal property
Methods
| Member | What it is |
|---|---|
void Dispose() | Disposes the wrapped enumerator. |
bool MoveNext() | Advances the wrapped enumerator and calls the finished callback at the end. |
void Reset() | Resets the wrapped enumerator. |
Used in
Members of other types that take, return or hold a DebuggingCollectionEnumerator<TInnerType>: