ODataInputFormatter Class
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.
TextInputFormatter class to handle OData.
public class ODataInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter
type ODataInputFormatter = class
inherit TextInputFormatter
Public Class ODataInputFormatter
Inherits TextInputFormatter
- Inheritance
-
ODataInputFormatter
Constructors
ODataInputFormatter(IEnumerable<ODataPayloadKind>) |
Initializes a new instance of the ODataInputFormatter class. |
Properties
BaseAddressFactory |
Gets or sets a method that allows consumers to provide an alternate base address for OData Uri. |
Methods
CanRead(InputFormatterContext) | Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter.CanRead(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext) |
GetDefaultBaseAddress(HttpRequest) |
Returns a base address to be used in the service root when reading or writing OData uris. |
ReadRequestBodyAsync(InputFormatterContext, Encoding) | Reads an object from the request body. |