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.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Sub New ( _
source As IEnumerable(Of T) _
)
'Usage
Dim source As IEnumerable(Of T)
Dim instance As New DelegatingEnumerable(source)
public DelegatingEnumerable(
IEnumerable<T> source
)
public:
DelegatingEnumerable(
IEnumerable<T>^ source
)
new :
source:IEnumerable<'T> -> DelegatingEnumerable
public function DelegatingEnumerable(
source : IEnumerable<T>
)
Parameters
- source
Type: System.Collections.Generic.IEnumerable<T>
The <see cref="T:System.Collections.Generic.IEnumerable`1" /> instance to get the enumerator from.