ODataDeserializerContext Class
This class encapsulates the state and settings that get passed to ODataDeserializer from the ODataMediaTypeFormatter.
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.ODataDeserializerContext
Syntax
public class ODataDeserializerContext
public ref class ODataDeserializerContext
type ODataDeserializerContext = class end
Public Class ODataDeserializerContext
Constructors
Name | Description | |
---|---|---|
ODataDeserializerContext() |
Properties
Name | Description | |
---|---|---|
Model | Gets or sets the EDM model associated with the request. |
|
Path | Gets or sets the ODataPath of the request. |
|
Request | Gets or sets the HTTP Request that is being deserialized. |
|
RequestContext | Gets or sets the request context. |
|
ResourceEdmType | Gets or sets the IEdmTypeReference of the top-level object the request needs to be deserialized into. |
|
ResourceType | Gets or sets the type of the top-level object the request needs to be deserialized into. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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.Http.OData.Formatter.Deserialization Namespace
Return to top