Partilhar via


DelegatingEnumerator<TWrapped,TDeclared> Construtor

Definição

Inicializa um DelegatingEnumerable<TWrapped,TDeclared> que enumera sobre os elementos do enumerador original e os encapsula usando o fornecido IWrapperProvider.

public:
 DelegatingEnumerator(System::Collections::Generic::IEnumerator<TDeclared> ^ inner, Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ wrapperProvider);
public DelegatingEnumerator (System.Collections.Generic.IEnumerator<TDeclared> inner, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider wrapperProvider);
public DelegatingEnumerator (System.Collections.Generic.IEnumerator<TDeclared> inner, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider? wrapperProvider);
new Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator<'Wrapped, 'Declared> : System.Collections.Generic.IEnumerator<'Declared> * Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider -> Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerator<'Wrapped, 'Declared>
Public Sub New (inner As IEnumerator(Of TDeclared), wrapperProvider As IWrapperProvider)

Parâmetros

inner
IEnumerator<TDeclared>

O enumerador original.

wrapperProvider
IWrapperProvider

O provedor wrapper para encapsular elementos individuais.

Aplica-se a