ODataDeserializerProvider.GetODataDeserializer Method (IEdmModel, Type, HttpRequestMessage)
Gets an ODataDeserializer for the given type.
Namespace: System.Web.OData.Formatter.Deserialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public abstract ODataDeserializer GetODataDeserializer(
IEdmModel model,
Type type,
HttpRequestMessage request
)
public:
virtual ODataDeserializer^ GetODataDeserializer(
IEdmModel^ model,
Type^ type,
HttpRequestMessage^ request
) abstract
abstract GetODataDeserializer :
model:IEdmModel *
type:Type *
request:HttpRequestMessage -> ODataDeserializer
Public MustOverride Function GetODataDeserializer (
model As IEdmModel,
type As Type,
request As HttpRequestMessage
) As ODataDeserializer
Parameters
model
Type: Microsoft.OData.Edm.IEdmModelThe EDM model.
type
Type: System.TypeThe CLR type.
request
Type: System.Net.Http.HttpRequestMessageThe request being deserialized.
Return Value
Type: System.Web.OData.Formatter.Deserialization.ODataDeserializer
An ODataDeserializer that can deserialize the given type.
See Also
ODataDeserializerProvider Class
System.Web.OData.Formatter.Deserialization Namespace
Return to top