Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DelegatingEnumerable<T> Class

Helper class to serialize <see cref="T:System.Collections.Generic.IEnumerable`1" /> types by delegating them through a concrete implementation."/&gt;.

System.Object
  System.Net.Http.Formatting.DelegatingEnumerable<T>

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
public sealed class DelegatingEnumerable<T> : IEnumerable<T>, 
	IEnumerable

Type Parameters

T

The interface implementing to proxy.

The DelegatingEnumerable<T> type exposes the following members.

  NameDescription
Public methodDelegatingEnumerable<T>() Initialize a DelegatingEnumerable. This constructor is necessary for DataContractSerializer to work.
Public methodDelegatingEnumerable<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.
Top
  NameDescription
Public methodAdd This method is not implemented but is required method for serialization to work. Do not use.
Public methodEquals (Inherited from Object.)
Public methodGetEnumerator Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.