AResourceManager_TInfo,TResource_.ResourceEnumerator.md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Resource.AResourceManager<TInfo,TResource>
AResourceManager<TInfo,TResource>.ResourceEnumerator Struct
Enumerates the resources of a AResourceManager<TInfo,TResource>.
public struct AResourceManager<TInfo,TResource>.ResourceEnumerator :
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TInfo, TResource>>,
System.Collections.IEnumerator,
System.IDisposable
Type parameters
TInfo
TResource
Implements System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TInfo,TResource>>, System.Collections.IEnumerator, System.IDisposable
| Properties | |
|---|---|
| Current | Gets the resource at the current position of the enumerator. |
| Methods | |
|---|---|
| Dispose() | Releases all resources used by the ResourceEnumerator. |
| MoveNext() | Advances the enumerator to the next resource of the AResourceManager<TInfo,TResource>. |
| Explicit Interface Implementations | |
|---|---|
| System.Collections.IEnumerator.Current | Gets the resource at the current position of the enumerator. |
| System.Collections.IEnumerator.Reset() | Sets the enumerator to its initial position, which is before the first element in the collection. |