A wrapping implementation of an IEnumerator<(Of <(<'T>)>)>
that upcasts elements from a given enumerator to
another one.
Namespace: yWorks.SupportAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public sealed class CastingEnumerator<R, T> : IEnumerator<T>, IDisposable, IEnumerator where R : T |
| Visual Basic |
|---|
Public NotInheritable Class CastingEnumerator(Of R As T, T) _ Implements IEnumerator(Of T), IDisposable, IEnumerator |
Type Parameters
- R
- The type of the elements in the enumerator to be wrapped.
- T
- The type of the elements in this enumerator.
Inheritance Hierarchy
System..::..Object
yWorks.Support..::..CastingEnumerator<(Of <(<'R, T>)>)>
yWorks.Support..::..CastingEnumerator<(Of <(<'R, T>)>)>