ODataPrimitiveSerializer 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.
Represents an ODataSerializer for serializing IEdmPrimitiveType's.
public class ODataPrimitiveSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataEdmTypeSerializer
type ODataPrimitiveSerializer = class
inherit ODataEdmTypeSerializer
Public Class ODataPrimitiveSerializer
Inherits ODataEdmTypeSerializer
- Inheritance
Constructors
ODataPrimitiveSerializer() |
Initializes a new instance of ODataPrimitiveSerializer. |
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
CreateODataPrimitiveValue(Object, IEdmPrimitiveTypeReference, ODataSerializerContext) |
Creates an ODataPrimitiveValue for the object represented by |
CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext) |
Creates an ODataValue for the object represented by |
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. (Inherited from ODataEdmTypeSerializer) |
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. (Inherited from ODataEdmTypeSerializer) |