Table of Contents

Namespace Cuemon.Diagnostics

Assembly: Cuemon.Core.dll

The Cuemon.Diagnostics namespace contains types that provide ways for developers to describe exceptions including evidence to why an operation faulted. Also includes a flexible, generic and lambda friendly way to perform both synchronous and asynchronous time measuring operations. The namespace is an addition to the System.Diagnostics namespace.

Availability: .NET 9, .NET 8 and .NET Standard 2.0

Complements: System.Diagnostics namespace 🔗

Related: Cuemon.Extensions.Diagnostics namespace 📘

Classes

AsyncTimeMeasureOptions

Specifies options that is related to TimeMeasure operations. This class cannot be inherited.

ExceptionDescriptor

Provides information about an Exception, in a developer friendly way.

ExceptionDescriptorAttribute

Provides information about an Exception, in a developer friendly way, optimized for open- and otherwise public application programming interfaces (API).

ExceptionDescriptorOptions

Specifies options that is related to ExceptionDescriptor operations.

Failure

Represents a failure model with detailed information about an exception.

FaultHandler<TDescriptor>

Provides a generic way to implement a fault resolver that evaluate an exception and provide details about it in a developer friendly way.

FaultResolver

Provides a way to evaluate an exception and provide details about it in a developer friendly way.

MemberEvidence

Provides evidence about a member.

Profiler

Represents a base class for profiler related operations.

ProfilerOptions

Specifies options that is related to Profiler operations.

TimeMeasure

Provides a flexible, generic and lambda friendly way to perform time measuring operations.

TimeMeasureOptions

Specifies options that is related to TimeMeasure operations.

TimeMeasureProfiler

Represents a profiler that is optimized for time measuring operations.

TimeMeasureProfiler<TResult>

Represents a profiler that is optimized for time measuring operations that provides a return value. This class cannot be inherited.

Interfaces

IExceptionDescriptorOptions

Defines options that is related to ExceptionDescriptor operations.

Enums

FaultSensitivityDetails

Specifies the level of sensitive details to include when serializing an ExceptionDescriptor.