1 implementation of IExceptionSummaryProvider
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
HttpExceptionSummaryProvider.cs (1)
19
internal sealed class HttpExceptionSummaryProvider :
IExceptionSummaryProvider
10 references to IExceptionSummaryProvider
Microsoft.Extensions.Diagnostics.ExceptionSummarization (10)
ExceptionSummarizationBuilder.cs (2)
20
where T : class,
IExceptionSummaryProvider
22
Services.TryAddEnumerable(ServiceDescriptor.Singleton<
IExceptionSummaryProvider
, T>());
ExceptionSummarizer.cs (7)
15
private readonly FrozenDictionary<Type,
IExceptionSummaryProvider
> _exceptionTypesToProviders;
17
public ExceptionSummarizer(IEnumerable<
IExceptionSummaryProvider
> providers)
19
var exceptionTypesToProvidersBuilder = new Dictionary<Type,
IExceptionSummaryProvider
>();
20
foreach (
var
exceptionSummaryProvider in providers)
42
if (_exceptionTypesToProviders.TryGetValue(type, out
var
exceptionSummaryProvider))
54
if (_exceptionTypesToProviders.TryGetValue(innerExceptionType, out
var
innerExceptionSummaryProvider))
85
IExceptionSummaryProvider
exceptionSummaryProvider,
IExceptionSummarizationBuilder.cs (1)
25
where T : class,
IExceptionSummaryProvider
;