1 implementation of IClientErrorFactory
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ProblemDetailsClientErrorFactory.cs (1)
6
internal sealed class ProblemDetailsClientErrorFactory :
IClientErrorFactory
7 references to IClientErrorFactory
Microsoft.AspNetCore.Mvc.Core (4)
ApiBehaviorOptions.cs (1)
76
/// implementation of <see cref="
IClientErrorFactory
"/> in the service collection.
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
247
services.TryAddSingleton<
IClientErrorFactory
, ProblemDetailsClientErrorFactory>();
Infrastructure\ClientErrorResultFilter.cs (2)
12
private readonly
IClientErrorFactory
_clientErrorFactory;
16
IClientErrorFactory
clientErrorFactory,
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ClientErrorResultFilterTest.cs (3)
38
var factory = new Mock<
IClientErrorFactory
>();
107
var
factory = Mock.Of<
IClientErrorFactory
>(