16 instantiations of DefaultProblemDetailsFactory
Microsoft.AspNetCore.Mvc.Core.Test (16)
ControllerBaseTest.cs (9)
2347
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2376
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2398
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2419
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2440
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2466
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2493
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2517
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
2538
ProblemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(options)),
DependencyInjection\ApiBehaviorOptionsSetupTest.cs (1)
141
return new
DefaultProblemDetailsFactory
(Options.Options.Create(options));
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (1)
235
new
DefaultProblemDetailsFactory
(Options.Create(options), null),
Infrastructure\ProblemDetailsFactoryTest.cs (1)
184
return new
DefaultProblemDetailsFactory
(Options.Create(options));
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (4)
17
var problemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(new ApiBehaviorOptions
44
var problemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(new ApiBehaviorOptions
74
var problemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(new ApiBehaviorOptions
100
var problemDetailsFactory = new
DefaultProblemDetailsFactory
(Options.Create(new ApiBehaviorOptions
6 references to DefaultProblemDetailsFactory
Microsoft.AspNetCore.Mvc.Core (2)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
276
services.TryAddSingleton<ProblemDetailsFactory,
DefaultProblemDetailsFactory
>();
Infrastructure\DefaultProblemDetailsFactory.cs (1)
24
/// Initializes a new instance of the <see cref="
DefaultProblemDetailsFactory
"/> class.
Microsoft.AspNetCore.Mvc.Core.Test (4)
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (4)
17
var
problemDetailsFactory = new DefaultProblemDetailsFactory(Options.Create(new ApiBehaviorOptions
44
var
problemDetailsFactory = new DefaultProblemDetailsFactory(Options.Create(new ApiBehaviorOptions
74
var
problemDetailsFactory = new DefaultProblemDetailsFactory(Options.Create(new ApiBehaviorOptions
100
var
problemDetailsFactory = new DefaultProblemDetailsFactory(Options.Create(new ApiBehaviorOptions