ODataEnumSerializer Class
Represents an ODataSerializer for serializing IEdmEnumType's.
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.ODataEnumSerializer
Syntax
public class ODataEnumSerializer : ODataEdmTypeSerializer
public ref class ODataEnumSerializer : ODataEdmTypeSerializer
type ODataEnumSerializer =
class
inherit ODataEdmTypeSerializer
end
Public Class ODataEnumSerializer
Inherits ODataEdmTypeSerializer
Constructors
Name | Description | |
---|---|---|
ODataEnumSerializer() | Initializes a new instance of ODataEnumSerializer. |
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. (Inherited from ODataEdmTypeSerializer.) |
Methods
Name | Description | |
---|---|---|
CreateODataEnumValue(Object, IEdmEnumTypeReference, ODataSerializerContext) | Creates an ODataEnumValue for the object represented by graph. |
|
CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext) | (Overrides ODataEdmTypeSerializer.CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext).) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext) | (Overrides ODataSerializer.WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext).) |
|
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