Table of Contents

Class CallEndEventArgs

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll
public class CallEndEventArgs : EventArgs
Inheritance
CallEndEventArgs
Inherited Members

Constructors

CallEndEventArgs(Guid, TimeSpan, Exception, int, IReadOnlyList<CallStepInfo>, Func<string>, Func<CancellationToken, Task<string>>, bool)

public CallEndEventArgs(Guid callKey, TimeSpan elapsed, Exception exception, int count, IReadOnlyList<CallStepInfo> steps = null, Func<string> filterJsonProvider = null, Func<CancellationToken, Task<string>> explainProvider = null, bool final = true)

Parameters

callKey Guid
elapsed TimeSpan
exception Exception
count int
steps IReadOnlyList<CallStepInfo>
filterJsonProvider Func<string>
explainProvider Func<CancellationToken, Task<string>>
final bool

Properties

CallKey

public Guid CallKey { get; }

Property Value

Guid

Count

public int Count { get; }

Property Value

int

Elapsed

public TimeSpan Elapsed { get; }

Property Value

TimeSpan

Exception

public Exception Exception { get; }

Property Value

Exception

ExplainProvider

public Func<CancellationToken, Task<string>> ExplainProvider { get; }

Property Value

Func<CancellationToken, Task<string>>

FilterJsonProvider

public Func<string> FilterJsonProvider { get; }

Property Value

Func<string>

Final

public bool Final { get; }

Property Value

bool

Steps

public IReadOnlyList<CallStepInfo> Steps { get; }

Property Value

IReadOnlyList<CallStepInfo>