Share via


ODataComplexTypeSerializer Class

 

ODataSerializer for serializing complex types.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Formatter.Serialization.ODataSerializer
    System.Web.OData.Formatter.Serialization.ODataEdmTypeSerializer
      System.Web.OData.Formatter.Serialization.ODataComplexTypeSerializer

Syntax

public class ODataComplexTypeSerializer : ODataEdmTypeSerializer
public ref class ODataComplexTypeSerializer : ODataEdmTypeSerializer
type ODataComplexTypeSerializer = 
    class
        inherit ODataEdmTypeSerializer
    end
Public Class ODataComplexTypeSerializer
    Inherits ODataEdmTypeSerializer

Constructors

Name Description
System_CAPS_pubmethod ODataComplexTypeSerializer(ODataSerializerProvider)

Initializes a new instance of the ODataComplexTypeSerializer 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. (Inherited from ODataEdmTypeSerializer.)

Methods

Name Description
System_CAPS_pubmethod CreateODataComplexValue(Object, IEdmComplexTypeReference, ODataSerializerContext)

Creates an ODataComplexValue for the object represented by graph.

System_CAPS_pubmethod CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

(Overrides ODataEdmTypeSerializer.CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext).)

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)

(Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).)

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. (Inherited from ODataEdmTypeSerializer.)

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.OData.Formatter.Serialization Namespace

Return to top