Share via


ODataPrimitiveDeserializer Class

Definition

Represents an ODataDeserializer that can read OData primitve types.

public class ODataPrimitiveDeserializer : Microsoft.AspNet.OData.Formatter.Deserialization.ODataEdmTypeDeserializer
type ODataPrimitiveDeserializer = class
    inherit ODataEdmTypeDeserializer
Public Class ODataPrimitiveDeserializer
Inherits ODataEdmTypeDeserializer
Inheritance

Constructors

ODataPrimitiveDeserializer()

Initializes a new instance of the ODataPrimitiveDeserializer class.

Properties

DeserializerProvider

The ODataDeserializerProvider to use for deserializing inner items.

(Inherited from ODataEdmTypeDeserializer)
ODataPayloadKind

The kind of ODataPayload this deserializer handles.

(Inherited from ODataDeserializer)

Methods

Read(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

ReadAsync(ODataMessageReader, Type, ODataDeserializerContext)

Reads an IODataRequestMessage using messageReader.

ReadInline(Object, IEdmTypeReference, ODataDeserializerContext)

Deserializes the item into a new object of type corresponding to edmType.

ReadPrimitive(ODataProperty, ODataDeserializerContext)

Deserializes the primitive from the given primitiveProperty under the given readContext.

Applies to