ODataEdmTypeSerializer Class

Definition

Represents an ODataSerializer that serializes instances of objects backed by an IEdmType.

public abstract class ODataEdmTypeSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
type ODataEdmTypeSerializer = class
    inherit ODataSerializer
Public MustInherit Class ODataEdmTypeSerializer
Inherits ODataSerializer
Inheritance
ODataEdmTypeSerializer
Derived

Constructors

ODataEdmTypeSerializer(ODataPayloadKind)

Initializes a new instance of the ODataEdmTypeSerializer class.

ODataEdmTypeSerializer(ODataPayloadKind, ODataSerializerProvider)

Initializes a new instance of the ODataEdmTypeSerializer class.

Properties

ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)
SerializerProvider

Gets the ODataSerializerProvider that can be used to write inner objects.

Methods

CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

Creates an ODataValue for the object represented by graph.

WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

(Inherited from ODataSerializer)
WriteObjectAsync(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

(Inherited from ODataSerializer)
WriteObjectInline(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a part of an existing OData message using the given messageWriter and the writeContext.

WriteObjectInlineAsync(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a part of an existing OData message using the given messageWriter and the writeContext.

Applies to