DelegatingEnumerable<T> Constructor
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Overload List
Name | Description | |
---|---|---|
DelegatingEnumerable<T>() | Initialize a DelegatingEnumerable. This constructor is necessary for DataContractSerializer to work. |
|
DelegatingEnumerable<T>(IEnumerable<T>) | Initialize a DelegatingEnumerable with an <see cref="T:System.Collections.Generic.IEnumerable`1" />. This is a helper class to proxy <see cref="T:System.Collections.Generic.IEnumerable`1" /> interfaces for XmlSerializer. |
See Also
DelegatingEnumerable<T> Class
System.Net.Http.Formatting Namespace
Return to top
DelegatingEnumerable<T> Constructor ()
Initialize a DelegatingEnumerable. This constructor is necessary for DataContractSerializer to work.
Syntax
public DelegatingEnumerable()
public:
DelegatingEnumerable()
new : unit -> DelegatingEnumerable
Public Sub New
Return to top
DelegatingEnumerable<T> Constructor (IEnumerable<T>)
Initialize a DelegatingEnumerable with an <see cref="T:System.Collections.Generic.IEnumerable`1" />. This is a helper class to proxy <see cref="T:System.Collections.Generic.IEnumerable`1" /> interfaces for XmlSerializer.
Syntax
public DelegatingEnumerable(
IEnumerable<T> source
)
public:
DelegatingEnumerable(
IEnumerable<T>^ source
)
new :
source:IEnumerable<'T> -> DelegatingEnumerable
Public Sub New (
source As IEnumerable(Of T)
)
Parameters
source
Type: System.Collections.Generic.IEnumerable<T>The <see cref="T:System.Collections.Generic.IEnumerable`1" /> instance to get the enumerator from.
Return to top