Share via


ODataDeserializerContext Class

 

This class encapsulates the state and settings that get passed to ODataDeserializer from the ODataMediaTypeFormatter.

Namespace:   System.Web.OData.Formatter.Deserialization
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Formatter.Deserialization.ODataDeserializerContext

Syntax

public class ODataDeserializerContext
public ref class ODataDeserializerContext 
type ODataDeserializerContext = class end
Public Class ODataDeserializerContext

Constructors

Name Description
System_CAPS_pubmethod ODataDeserializerContext()

Properties

Name Description
System_CAPS_pubproperty Model

Gets or sets the EDM model associated with the request.

System_CAPS_pubproperty Path

Gets or sets the ODataPath of the request.

System_CAPS_pubproperty Request

Gets or sets the HTTP Request that is being deserialized.

System_CAPS_pubproperty RequestContext

Gets or sets the request context.

System_CAPS_pubproperty ResourceEdmType

Gets or sets the IEdmTypeReference of the top-level object the request needs to be deserialized into.

System_CAPS_pubproperty ResourceType

Gets or sets the type of the top-level object the request needs to be deserialized into.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.OData.Formatter.Deserialization Namespace

Return to top