13 instantiations of DefaultOutputFormatterSelector
Microsoft.AspNetCore.Mvc.Core.Test (13)
AcceptedAtActionResultTests.cs (1)
272new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
AcceptedAtRouteResultTests.cs (1)
180new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
AcceptedResultTests.cs (1)
137new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
CreatedAtActionResultTests.cs (1)
92new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
CreatedAtRouteResultTests.cs (1)
106new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
CreatedResultTests.cs (1)
139new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
HttpNotFoundObjectResultTest.cs (1)
72new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
HttpOkObjectResultTest.cs (1)
74new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
Infrastructure\ControllerActionInvokerTest.cs (1)
1711new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (1)
233new DefaultOutputFormatterSelector(mvcOptions, NullLoggerFactory.Instance),
Infrastructure\DefaultOutputFormatterSelectorTest.cs (1)
376return new DefaultOutputFormatterSelector(Options.Create(options), NullLoggerFactory.Instance);
Infrastructure\ObjectResultExecutorTest.cs (1)
481var selector = new DefaultOutputFormatterSelector(optionsAccessor, NullLoggerFactory.Instance);
ObjectResultTests.cs (1)
161new DefaultOutputFormatterSelector(options, NullLoggerFactory.Instance),
18 references to DefaultOutputFormatterSelector
Microsoft.AspNetCore.Mvc.Core (5)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
234services.TryAddSingleton<OutputFormatterSelector, DefaultOutputFormatterSelector>();
Infrastructure\DefaultOutputFormatterSelector.cs (2)
33/// Initializes a new instance of <see cref="DefaultOutputFormatterSelector"/> 42_logger = loggerFactory.CreateLogger<DefaultOutputFormatterSelector>();
Infrastructure\OutputFormatterSelector.cs (2)
14/// is <see cref="DefaultOutputFormatterSelector"/>. The <see cref="DefaultOutputFormatterSelector"/> implements
Microsoft.AspNetCore.Mvc.Core.Test (13)
Infrastructure\DefaultOutputFormatterSelectorTest.cs (12)
25var selector = CreateSelector(new IOutputFormatter[] { }); 55var selector = CreateSelector(formatters); 84var selector = CreateSelector(formatters); 155var selector = CreateSelector(formatters); 186var selector = CreateSelector(formatters); 214var selector = CreateSelector(formatters); 249var selector = CreateSelector(options); 278var selector = CreateSelector(formatters); 307var selector = CreateSelector(formatters); 341var selector = CreateSelector(formatters); 363private static DefaultOutputFormatterSelector CreateSelector(IEnumerable<IOutputFormatter> formatters) 374private static DefaultOutputFormatterSelector CreateSelector(MvcOptions options)
Infrastructure\ObjectResultExecutorTest.cs (1)
481var selector = new DefaultOutputFormatterSelector(optionsAccessor, NullLoggerFactory.Instance);