Share via


DelegatingEnumerable<TWrapped,TDeclared> Constructors

Definition

Overloads

DelegatingEnumerable<TWrapped,TDeclared>()

Initializes a DelegatingEnumerable<TWrapped,TDeclared>.

DelegatingEnumerable<TWrapped,TDeclared>(IEnumerable<TDeclared>, IWrapperProvider)

Initializes a DelegatingEnumerable<TWrapped,TDeclared> with the original IEnumerable<T> and the wrapper provider for wrapping individual elements.

DelegatingEnumerable<TWrapped,TDeclared>()

Source:
DelegatingEnumerable.cs
Source:
DelegatingEnumerable.cs
Source:
DelegatingEnumerable.cs
public:
 DelegatingEnumerable();
public DelegatingEnumerable ();
Public Sub New ()

Remarks

This constructor is necessary for DataContractSerializer to serialize.

Applies to

DelegatingEnumerable<TWrapped,TDeclared>(IEnumerable<TDeclared>, IWrapperProvider)

Source:
DelegatingEnumerable.cs
Source:
DelegatingEnumerable.cs
Source:
DelegatingEnumerable.cs

Initializes a DelegatingEnumerable<TWrapped,TDeclared> with the original IEnumerable<T> and the wrapper provider for wrapping individual elements.

public:
 DelegatingEnumerable(System::Collections::Generic::IEnumerable<TDeclared> ^ source, Microsoft::AspNetCore::Mvc::Formatters::Xml::IWrapperProvider ^ elementWrapperProvider);
public DelegatingEnumerable (System.Collections.Generic.IEnumerable<TDeclared> source, Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider elementWrapperProvider);
new Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<'Wrapped, 'Declared> : seq<'Declared> * Microsoft.AspNetCore.Mvc.Formatters.Xml.IWrapperProvider -> Microsoft.AspNetCore.Mvc.Formatters.Xml.DelegatingEnumerable<'Wrapped, 'Declared>
Public Sub New (source As IEnumerable(Of TDeclared), elementWrapperProvider As IWrapperProvider)

Parameters

source
IEnumerable<TDeclared>

The IEnumerable<T> instance to get the enumerator from.

elementWrapperProvider
IWrapperProvider

The wrapper provider for wrapping individual elements.

Applies to