Share via


ODataEdmTypeSerializer Class

 

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

Namespace:   System.Web.Http.OData.Formatter.Serialization
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Formatter.Serialization.ODataSerializer
    System.Web.Http.OData.Formatter.Serialization.ODataEdmTypeSerializer
      System.Web.Http.OData.Formatter.Serialization.ODataCollectionSerializer
      System.Web.Http.OData.Formatter.Serialization.ODataComplexTypeSerializer
      System.Web.Http.OData.Formatter.Serialization.ODataEntityTypeSerializer
      System.Web.Http.OData.Formatter.Serialization.ODataFeedSerializer
      System.Web.Http.OData.Formatter.Serialization.ODataPrimitiveSerializer

Syntax

public abstract class ODataEdmTypeSerializer : ODataSerializer
public ref class ODataEdmTypeSerializer abstract : ODataSerializer
[<AbstractClass>]
type ODataEdmTypeSerializer = 
    class
        inherit ODataSerializer
    end
Public MustInherit Class ODataEdmTypeSerializer
    Inherits ODataSerializer

Constructors

Name Description
System_CAPS_protmethod ODataEdmTypeSerializer(ODataPayloadKind)

Initializes a new instance of the ODataEdmTypeSerializer class.

System_CAPS_protmethod ODataEdmTypeSerializer(ODataPayloadKind, ODataSerializerProvider)

Initializes a new instance of the ODataEdmTypeSerializer class.

Properties

Name Description
System_CAPS_pubproperty ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.(Inherited from ODataSerializer.)

System_CAPS_pubproperty SerializerProvider

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

Methods

Name Description
System_CAPS_pubmethod CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

Creates an ODataValue for the object represented by graph.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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.)

System_CAPS_pubmethod 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Formatter.Serialization Namespace

Return to top