Share via


ODataResourceSetSerializer Class

Definition

OData serializer for serializing a collection of IEdmEntityType or IEdmComplexType

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

Constructors

ODataResourceSetSerializer(ODataSerializerProvider)

Initializes a new instance of ODataResourceSetSerializer.

Properties

ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)
SerializerProvider

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

(Inherited from ODataEdmTypeSerializer)

Methods

CreateODataOperation(IEdmOperation, ResourceSetContext, ODataSerializerContext)

Creates an ODataOperation to be written for the given operation and the resourceSet instance.

CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

Creates an ODataValue for the object represented by graph.

(Inherited from ODataEdmTypeSerializer)
CreateResourceSet(IEnumerable, IEdmCollectionTypeReference, ODataSerializerContext)

Create the ODataResourceSet to be written for the given resourceSet instance.

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.

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