Table of Contents

AddEvidence Method

Definition

Namespace
Cuemon.Diagnostics
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Diagnostics/ExceptionDescriptor.cs

AddEvidence<T>(string, T, Func<T, object>)

Adds an element of evidence to associate with the faulted operation.

public void AddEvidence<T>(string context, T evidence, Func<T, object> evidenceProvider)

Parameters

context string

The context of the evidence.

evidence T

The evidence itself.

evidenceProvider Func<T, object>

The function delegate that provides the evidence.

Type Parameters

T

The type of the evidence.