1 write to OutputFormatters
Microsoft.AspNetCore.Mvc.Core (1)
MvcOptions.cs (1)
45OutputFormatters = new FormatterCollection<IOutputFormatter>();
11 references to OutputFormatters
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiResponseTypeProvider.cs (1)
97var responseTypeMetadataProviders = _mvcOptions.OutputFormatters.OfType<IApiResponseTypeMetadataProvider>();
Microsoft.AspNetCore.Mvc.Core (8)
Infrastructure\DefaultOutputFormatterSelector.cs (2)
44_formatters = new ReadOnlyCollection<IOutputFormatter>(options.Value.OutputFormatters); 65nameof(MvcOptions.OutputFormatters),
Infrastructure\MvcCoreMvcOptionsSetup.cs (4)
77options.OutputFormatters.Add(new HttpNoContentOutputFormatter()); 78options.OutputFormatters.Add(new StringOutputFormatter()); 79options.OutputFormatters.Add(new StreamOutputFormatter()); 82options.OutputFormatters.Add(jsonOutputFormatter);
Infrastructure\OutputFormatterSelector.cs (2)
20/// <see cref="MvcOptions.OutputFormatters"/>, <see cref="MvcOptions.RespectBrowserAcceptHeader"/>, and 30/// <param name="formatters">A list of formatters to use; this acts as an override to <see cref="MvcOptions.OutputFormatters"/>.</param>
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
DependencyInjection\XmlDataContractSerializerMvcOptionsSetup.cs (1)
45options.OutputFormatters.Add(outputFormatter);
DependencyInjection\XmlSerializerMvcOptionsSetup.cs (1)
51options.OutputFormatters.Add(outputFormatter);