DelegatingEnumerator<TWrapped,TDeclared> Clase

Definición

Delega la enumeración de elementos en el enumerador original y ajusta los elementos con el proporcionado IWrapperProvider.

generic <typename TWrapped, typename TDeclared>
public ref class DelegatingEnumerator : System::Collections::Generic::IEnumerator<TWrapped>
public class DelegatingEnumerator<TWrapped,TDeclared> : System.Collections.Generic.IEnumerator<TWrapped>
type DelegatingEnumerator<'Wrapped, 'Declared> = class
    interface IEnumerator<'Wrapped>
    interface IEnumerator
    interface IDisposable
Public Class DelegatingEnumerator(Of TWrapped, TDeclared)
Implements IEnumerator(Of TWrapped)

Parámetros de tipo

TWrapped

Tipo al que deben ajustarse los elementos individuales.

TDeclared

Tipo original del elemento que se va a encapsular.

Herencia
DelegatingEnumerator<TWrapped,TDeclared>
Implementaciones

Constructores

DelegatingEnumerator<TWrapped,TDeclared>(IEnumerator<TDeclared>, IWrapperProvider)

Inicializa un DelegatingEnumerable<TWrapped,TDeclared> objeto que enumera los elementos del enumerador original y los encapsula mediante el proporcionado IWrapperProvider.

Propiedades

Current

Gets the element in the collection at the current position of the enumerator.

Métodos

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MoveNext()

Advances the enumerator to the next element of the collection.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Implementaciones de interfaz explícitas

IEnumerator.Current

Gets the element in the collection at the current position of the enumerator.

Se aplica a