Share via


ODataFeedSerializer Class

 

OData serializer for serializing a collection of IEdmEntityType

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

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod ODataFeedSerializer(ODataSerializerProvider)

Initializes a new instance of ODataFeedSerializer.

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 CreateODataFeed(IEnumerable, IEdmCollectionTypeReference, ODataSerializerContext)

Create the ODataFeed to be written for the given feed instance.

System_CAPS_pubmethod CreateODataValue(Object, IEdmTypeReference, ODataSerializerContext)

Creates an ODataValue for the object represented by graph.(Inherited from ODataEdmTypeSerializer.)

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)

(Overrides ODataEdmTypeSerializer.WriteObjectInline(Object, IEdmTypeReference, ODataWriter, ODataSerializerContext).)

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