1 implementation of IClientErrorFactory
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ProblemDetailsClientErrorFactory.cs (1)
6internal 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)
247services.TryAddSingleton<IClientErrorFactory, ProblemDetailsClientErrorFactory>();
Infrastructure\ClientErrorResultFilter.cs (2)
12private readonly IClientErrorFactory _clientErrorFactory; 16IClientErrorFactory clientErrorFactory,
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ClientErrorResultFilterTest.cs (3)
38var factory = new Mock<IClientErrorFactory>(); 107var factory = Mock.Of<IClientErrorFactory>(