2 implementations of IProblemDetailsWriter
Microsoft.AspNetCore.Http.Extensions (1)
DefaultProblemDetailsWriter.cs (1)
12internal sealed partial class DefaultProblemDetailsWriter : IProblemDetailsWriter
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
10internal sealed class DefaultApiProblemDetailsWriter : IProblemDetailsWriter
13 references to IProblemDetailsWriter
Microsoft.AspNetCore.Http.Abstractions (7)
ProblemDetails\IProblemDetailsService.cs (7)
14/// using the registered <see cref="IProblemDetailsWriter"/> services. 17/// <remarks>The <see cref="IProblemDetailsWriter"/> registered services 21/// <item><description>All <see cref="IProblemDetailsWriter"/> were executed and none of them was able to write the response successfully.</description></item> 24/// <exception cref="InvalidOperationException">If no <see cref="IProblemDetailsWriter"/> can write to the given context.</exception> 29/// using the registered <see cref="IProblemDetailsWriter"/> services. 32/// <remarks>The <see cref="IProblemDetailsWriter"/> registered services 36/// <item><description>All <see cref="IProblemDetailsWriter"/> were executed and none of them was able to write the response successfully.</description></item>
Microsoft.AspNetCore.Http.Extensions (4)
ProblemDetailsService.cs (3)
10private readonly IProblemDetailsWriter[] _writers; 13IEnumerable<IProblemDetailsWriter> writers) 37var selectedWriter = _writers[i];
ProblemDetailsServiceCollectionExtensions.cs (1)
42services.TryAddEnumerable(ServiceDescriptor.Singleton<IProblemDetailsWriter, DefaultProblemDetailsWriter>());
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
277services.TryAddEnumerable(ServiceDescriptor.Singleton<IProblemDetailsWriter, DefaultApiProblemDetailsWriter>());
Microsoft.AspNetCore.Mvc.Core.Test (1)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (1)
328typeof(IProblemDetailsWriter),