DelegatingEnumerable<T> Class
Helper class to serialize <see cref="T:System.Collections.Generic.IEnumerable`1" /> types by delegating them through a concrete implementation."/>.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Inheritance Hierarchy
System.Object
System.Net.Http.Formatting.DelegatingEnumerable<T>
Syntax
public sealed class DelegatingEnumerable<T> : IEnumerable<T>,
IEnumerable
generic<typename T>
public ref class DelegatingEnumerable sealed : IEnumerable<T>,
IEnumerable
[<Sealed>]
type DelegatingEnumerable<'T> =
class
interface IEnumerable<'T>
interface IEnumerable
end
Public NotInheritable Class DelegatingEnumerable(Of T)
Implements IEnumerable(Of T), IEnumerable
Type Parameters
- T
The interface implementing to proxy.
Constructors
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. |
Methods
Name | Description | |
---|---|---|
Add(Object) | This method is not implemented but is required method for serialization to work. Do not use. |
|
Equals(Object) | (Inherited from Object.) |
|
GetEnumerator() | Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator() | Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Net.Http.Formatting Namespace
Return to top