Share via


ODataEnumDeserializer Class

Definition

Represents an ODataDeserializer that can read OData enum types.

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

Constructors

ODataEnumDeserializer()

Initializes a new instance of the ODataEnumDeserializer 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.

Applies to