ODataResourceSetSerializer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
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. |