DelegatingEnumerator<TWrapped,TDeclared> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a DelegatingEnumerable<TWrapped,TDeclared> which enumerates over the elements of the original enumerator and wraps them using the supplied 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)
Parameters
- inner
- IEnumerator<TDeclared>
The original enumerator.
- wrapperProvider
- IWrapperProvider
The wrapper provider to wrap individual elements.