ODataOutputFormatter 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.
TextOutputFormatter class to handle OData.
public class ODataOutputFormatter : Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter
type ODataOutputFormatter = class
inherit TextOutputFormatter
Public Class ODataOutputFormatter
Inherits TextOutputFormatter
- Inheritance
-
ODataOutputFormatter
Constructors
ODataOutputFormatter(IEnumerable<ODataPayloadKind>) |
Initializes a new instance of the ODataOutputFormatter class. |
Properties
BaseAddressFactory |
Gets or sets a method that allows consumers to provide an alternate base address for OData Uri. |
MediaTypeMappings |
Gets a collection of MediaTypeMapping objects. |
Methods
CanWriteResult(OutputFormatterCanWriteContext) | Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter.CanWriteResult(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterCanWriteContext) |
GetDefaultBaseAddress(HttpRequest) |
Returns a base address to be used in the service root when reading or writing OData uris. |
WriteResponseBodyAsync(OutputFormatterWriteContext, Encoding) | Writes the response body. |
WriteResponseHeaders(OutputFormatterWriteContext) | Microsoft.AspNetCore.Mvc.Formatters.TextOutputFormatter.WriteResponseHeaders(Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext) |