DelegatingEnumerator<TWrapped,TDeclared> 构造函数

定义

初始化一个 , DelegatingEnumerable<TWrapped,TDeclared> 它枚举原始枚举器的元素并使用提供的 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)

参数

inner
IEnumerator<TDeclared>

原始枚举器。

wrapperProvider
IWrapperProvider

用于包装单个元素的包装器提供程序。

适用于