ODataDeltaFeedSerializer.CreateODataDeltaFeed Method (IEnumerable, IEdmCollectionTypeReference, ODataSerializerContext)
Create the ODataDeltaFeed to be written for the given feed instance.
Namespace: System.Web.OData.Formatter.Serialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual ODataDeltaFeed CreateODataDeltaFeed(
IEnumerable feedInstance,
IEdmCollectionTypeReference feedType,
ODataSerializerContext writeContext
)
public:
virtual ODataDeltaFeed^ CreateODataDeltaFeed(
IEnumerable^ feedInstance,
IEdmCollectionTypeReference^ feedType,
ODataSerializerContext^ writeContext
)
abstract CreateODataDeltaFeed :
feedInstance:IEnumerable *
feedType:IEdmCollectionTypeReference *
writeContext:ODataSerializerContext -> ODataDeltaFeed
override CreateODataDeltaFeed :
feedInstance:IEnumerable *
feedType:IEdmCollectionTypeReference *
writeContext:ODataSerializerContext -> ODataDeltaFeed
Public Overridable Function CreateODataDeltaFeed (
feedInstance As IEnumerable,
feedType As IEdmCollectionTypeReference,
writeContext As ODataSerializerContext
) As ODataDeltaFeed
Parameters
feedInstance
Type: System.Collections.IEnumerableThe instance representing the feed being written.
feedType
Type: Microsoft.OData.Edm.IEdmCollectionTypeReferenceThe EDM type of the feed being written.
writeContext
Type: System.Web.OData.Formatter.Serialization.ODataSerializerContextThe serializer context.
Return Value
Type: Microsoft.OData.Core.ODataDeltaFeed
The created ODataDeltaFeed object.
See Also
ODataDeltaFeedSerializer Class
System.Web.OData.Formatter.Serialization Namespace
Return to top