ODataEdmTypeSerializer Class
Represents an ODataSerializer that serializes instances of objects backed by an IEdmType.
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
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public MustInherit Class ODataEdmTypeSerializer _
Inherits ODataSerializer
'Usage
Dim instance As ODataEdmTypeSerializer
public abstract class ODataEdmTypeSerializer : ODataSerializer
public ref class ODataEdmTypeSerializer abstract : public ODataSerializer
[<AbstractClassAttribute>]
type ODataEdmTypeSerializer =
class
inherit ODataSerializer
end
public abstract class ODataEdmTypeSerializer extends ODataSerializer
The ODataEdmTypeSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataEdmTypeSerializer(ODataPayloadKind) | Initializes a new instance of the ODataEdmTypeSerializer class. | |
ODataEdmTypeSerializer(ODataPayloadKind, ODataSerializerProvider) | Initializes a new instance of the ODataEdmTypeSerializer class. |
Top
Properties
Name | Description | |
---|---|---|
ODataPayloadKind | Gets the ODataPayloadKind that this serializer generates. (Inherited from ODataSerializer.) | |
SerializerProvider | Gets the ODataSerializerProvider that can be used to write inner objects. |
Top
Methods
Name | Description | |
---|---|---|
CreateODataValue | Creates an ODataValue for the object represented by graph. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteObject | Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext. (Inherited from ODataSerializer.) | |
WriteObjectInline | Writes the given object specified by the parameter graph as a part of an existing OData message using the given messageWriter and the writeContext. |
Top
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.