ODataDeserializer Class
An ODataDeserializer is used to read an ODataMessage into a CLR object.
Namespace: System.Web.Http.OData.Formatter.Deserialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Formatter.Deserialization.ODataDeserializer
System.Web.Http.OData.Formatter.Deserialization.ODataActionPayloadDeserializer
System.Web.Http.OData.Formatter.Deserialization.ODataEdmTypeDeserializer
System.Web.Http.OData.Formatter.Deserialization.ODataEntityReferenceLinkDeserializer
Syntax
public abstract class ODataDeserializer
public ref class ODataDeserializer abstract
[<AbstractClass>]
type ODataDeserializer = class end
Public MustInherit Class ODataDeserializer
Constructors
Name | Description | |
---|---|---|
ODataDeserializer(ODataPayloadKind) | Initializes a new instance of the ODataDeserializer class. |
Properties
Name | Description | |
---|---|---|
ODataPayloadKind | The kind of ODataPayload this deserializer handles. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Read(ODataMessageReader, Type, ODataDeserializerContext) | Reads an IODataRequestMessage using messageReader. |
|
ToString() | (Inherited from Object.) |
Remarks
Each supported CLR type has a corresponding ODataDeserializer. A CLR type is supported if it is one of the special types or if it has a backing EDM type. Some of the special types are Uri which maps to ODataReferenceLink payload, Uri[] which maps to ODataReferenceLinks payload, ODataWorkspace which maps to ODataServiceDocument payload.
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.Web.Http.OData.Formatter.Deserialization Namespace
Return to top