Share via


ODataCollectionSerializer Constructors

Definition

Overloads

ODataCollectionSerializer(ODataSerializerProvider)

Initializes a new instance of the ODataCollectionSerializer class.

ODataCollectionSerializer(ODataSerializerProvider, Boolean)

Initializes a new instance of the ODataCollectionSerializer class.

ODataCollectionSerializer(ODataSerializerProvider)

Initializes a new instance of the ODataCollectionSerializer class.

public ODataCollectionSerializer (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider -> Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer
Public Sub New (serializerProvider As ODataSerializerProvider)

Parameters

serializerProvider
ODataSerializerProvider

The serializer provider to use to serialize nested objects.

Applies to

ODataCollectionSerializer(ODataSerializerProvider, Boolean)

Initializes a new instance of the ODataCollectionSerializer class.

public ODataCollectionSerializer (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider, bool isForAnnotations);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider * bool -> Microsoft.AspNet.OData.Formatter.Serialization.ODataCollectionSerializer
Public Sub New (serializerProvider As ODataSerializerProvider, isForAnnotations As Boolean)

Parameters

serializerProvider
ODataSerializerProvider

The serializer provider to use to serialize nested objects.

isForAnnotations
Boolean

bool value to check if its for instance annotations

Applies to