Struct PropertyCollection<TContainer>.Enumerator
An enumerator struct to enumerate all properties for the given
Inherited Members
Namespace: Unity.Properties
Syntax
public struct Enumerator : IEnumerator<IProperty<TContainer>>, IDisposable, IEnumerator
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
public IProperty<TContainer> Current { readonly get; }
Property Value
Type | Description |
---|---|
IProperty<TContainer> | The element in the collection at the current position of the enumerator. |
Implements
Methods
Dispose()
Disposes of the underlying enumerator.
Declaration
public void Dispose()
Implements
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
Boolean | true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. |
Implements
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
public void Reset()
Implements
Explicit Interface Implementations
IEnumerator.Current
Gets the element in the collection at the current position of the enumerator.
Declaration
readonly object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
Object | The element in the collection at the current position of the enumerator. |