DefaultOutputFormatterSelector Class

Definition

The default implementation of OutputFormatterSelector.

public ref class DefaultOutputFormatterSelector : Microsoft::AspNetCore::Mvc::Infrastructure::OutputFormatterSelector
public class DefaultOutputFormatterSelector : Microsoft.AspNetCore.Mvc.Infrastructure.OutputFormatterSelector
type DefaultOutputFormatterSelector = class
    inherit OutputFormatterSelector
Public Class DefaultOutputFormatterSelector
Inherits OutputFormatterSelector
Inheritance
DefaultOutputFormatterSelector

Constructors

DefaultOutputFormatterSelector(IOptions<MvcOptions>, ILoggerFactory)

Initializes a new instance of DefaultOutputFormatterSelector

Methods

SelectFormatter(OutputFormatterCanWriteContext, IList<IOutputFormatter>, MediaTypeCollection)

Selects an IOutputFormatter to write the response based on the provided values and the current request.

Applies to