ODataDeserializerProvider.GetODataDeserializer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetODataDeserializer(Type, HttpRequest) |
Gets an ODataDeserializer for the given type. |
GetODataDeserializer(Type, HttpRequestMessage) |
Gets an ODataDeserializer for the given type. |
GetODataDeserializer(Type, HttpRequest)
Gets an ODataDeserializer for the given type.
public abstract Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializer GetODataDeserializer (Type type, Microsoft.AspNetCore.Http.HttpRequest request);
abstract member GetODataDeserializer : Type * Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializer
Public MustOverride Function GetODataDeserializer (type As Type, request As HttpRequest) As ODataDeserializer
Parameters
- type
- Type
The CLR type.
- request
- HttpRequest
The request being deserialized.
Returns
An ODataDeserializer that can deserialize the given type.
Remarks
This signature uses types that are AspNetCore-specific.
Applies to
GetODataDeserializer(Type, HttpRequestMessage)
Gets an ODataDeserializer for the given type.
public abstract Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializer GetODataDeserializer (Type type, System.Net.Http.HttpRequestMessage request);
abstract member GetODataDeserializer : Type * System.Net.Http.HttpRequestMessage -> Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializer
Public MustOverride Function GetODataDeserializer (type As Type, request As HttpRequestMessage) As ODataDeserializer
Parameters
- type
- Type
The CLR type.
- request
- HttpRequestMessage
The request being deserialized.
Returns
An ODataDeserializer that can deserialize the given type.
Remarks
This signature uses types that are AspNet-specific.