Share via


ODataServiceDocumentSerializer Class

Definition

Represents an ODataSerializer for serializing ODataServiceDocument's for generating servicedoc's.

public class ODataServiceDocumentSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
type ODataServiceDocumentSerializer = class
    inherit ODataSerializer
Public Class ODataServiceDocumentSerializer
Inherits ODataSerializer
Inheritance
ODataServiceDocumentSerializer

Constructors

ODataServiceDocumentSerializer()

Initializes a new instance of ODataServiceDocumentSerializer.

Properties

ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)

Methods

WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext)

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

WriteObjectAsync(Object, Type, ODataMessageWriter, ODataSerializerContext)

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

Applies to