5 instantiations of ExceptionSummary
Microsoft.Extensions.Diagnostics.ExceptionSummarization (4)
ExceptionSummarizer.cs (4)
70return new ExceptionSummary( 77return new ExceptionSummary( 92return new ExceptionSummary( 98return new ExceptionSummary(exceptionType, exceptionSummaryProvider.Descriptions[descriptionIndex], additionalDetails ?? DefaultDescription);
Microsoft.Extensions.Resilience.Tests (1)
Resilience\ResilienceMetricsEnricherTests.cs (1)
39_summarizer!.Setup(v => v.Summarize(It.IsAny<Exception>())).Returns(new ExceptionSummary("type", "desc", "details"));
13 references to ExceptionSummary
Microsoft.Extensions.Diagnostics.ExceptionSummarization (13)
ExceptionSummarizer.cs (2)
31public ExceptionSummary Summarize(Exception exception) 83private static ExceptionSummary BuildSummary(
ExceptionSummary.cs (10)
18/// The <see cref="ExceptionSummary.Description"/> property never includes sensitive information. 19/// But the <see cref="ExceptionSummary.AdditionalDetails"/> property might contain sensitive information and thus shouldn't be used in telemetry. 21public readonly struct ExceptionSummary : IEquatable<ExceptionSummary> 24/// Initializes a new instance of the <see cref="ExceptionSummary"/> struct. 91public override bool Equals(object? obj) => obj is ExceptionSummary summary && Equals(summary); 98public bool Equals(ExceptionSummary other) 111public static bool operator ==(ExceptionSummary left, ExceptionSummary right) 122public static bool operator !=(ExceptionSummary left, ExceptionSummary right)
IExceptionSummarizer.cs (1)
18public ExceptionSummary Summarize(Exception exception);