ODataMediaTypeFormatter(IEnumerable<ODataPayloadKind>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ODataMediaTypeFormatter class.
public ODataMediaTypeFormatter (System.Collections.Generic.IEnumerable<Microsoft.OData.ODataPayloadKind> payloadKinds);
new Microsoft.AspNet.OData.Formatter.ODataMediaTypeFormatter : seq<Microsoft.OData.ODataPayloadKind> -> Microsoft.AspNet.OData.Formatter.ODataMediaTypeFormatter
Public Sub New (payloadKinds As IEnumerable(Of ODataPayloadKind))
Parameters
- payloadKinds
- IEnumerable<ODataPayloadKind>
The kind of payloads this formatter supports.