Exemplo n.º 1
0
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer), func);
Exemplo n.º 2
0
 public void CaptureSpan(string name, string type, Action <ISpan> capturedAction, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer), capturedAction);
Exemplo n.º 3
0
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(StartSpanInternal(name, type, subType, action), func);
Exemplo n.º 4
0
 public void CaptureSpan(string name, string type, Action capturedAction, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(StartSpanInternal(name, type, subType, action), capturedAction);
Exemplo n.º 5
0
 public Task CaptureSpan(string name, string type, Func <ISpan, Task> func, string subType = null, string action = null)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       func);
Exemplo n.º 6
0
 public Task <T> CaptureSpan <T>(string name, string type, Func <ISpan, Task <T> > func, string subType = null, string action = null, bool isExitSpan = false)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       func);
Exemplo n.º 7
0
 public void CaptureSpan(string name, string type, Action capturedAction, string subType = null, string action = null, bool isExitSpan = false)
 => ExecutionSegmentCommon.CaptureSpan(new NoopSpan(name, type, subType, action, _currentExecutionSegmentsContainer, Id, TraceId, this),
                                       capturedAction);