A wrapping implementation of an IEnumerator<(Of <(<'T>)>)> that upcasts elements from a given enumerator to another one.

Namespace: yWorks.Support
Assembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)

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>)>)>

See Also