Share via


ODataMediaTypeFormatter Constructor

 

Namespace:   System.Web.Http.OData.Formatter
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod ODataMediaTypeFormatter(IEnumerable<ODataPayloadKind>)

Initializes a new instance of the ODataMediaTypeFormatter class.

System_CAPS_pubmethod ODataMediaTypeFormatter(ODataDeserializerProvider, ODataSerializerProvider, IEnumerable<ODataPayloadKind>)

Initializes a new instance of the ODataMediaTypeFormatter class.

See Also

ODataMediaTypeFormatter Class
System.Web.Http.OData.Formatter Namespace

Return to top

ODataMediaTypeFormatter Constructor (IEnumerable<ODataPayloadKind>)

Initializes a new instance of the ODataMediaTypeFormatter class.

Syntax

public ODataMediaTypeFormatter(
    IEnumerable<ODataPayloadKind> payloadKinds
)
public:
ODataMediaTypeFormatter(
    IEnumerable<ODataPayloadKind>^ payloadKinds
)
new : 
        payloadKinds:IEnumerable<ODataPayloadKind> -> ODataMediaTypeFormatter
Public Sub New (
    payloadKinds As IEnumerable(Of ODataPayloadKind)
)

Parameters

Return to top

ODataMediaTypeFormatter Constructor (ODataDeserializerProvider, ODataSerializerProvider, IEnumerable<ODataPayloadKind>)

Initializes a new instance of the ODataMediaTypeFormatter class.

Syntax

public ODataMediaTypeFormatter(
    ODataDeserializerProvider deserializerProvider,
    ODataSerializerProvider serializerProvider,
    IEnumerable<ODataPayloadKind> payloadKinds
)
public:
ODataMediaTypeFormatter(
    ODataDeserializerProvider^ deserializerProvider,
    ODataSerializerProvider^ serializerProvider,
    IEnumerable<ODataPayloadKind>^ payloadKinds
)
new : 
        deserializerProvider:ODataDeserializerProvider *
        serializerProvider:ODataSerializerProvider *
        payloadKinds:IEnumerable<ODataPayloadKind> -> ODataMediaTypeFormatter
Public Sub New (
    deserializerProvider As ODataDeserializerProvider,
    serializerProvider As ODataSerializerProvider,
    payloadKinds As IEnumerable(Of ODataPayloadKind)
)

Parameters

Return to top