예제 #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);
예제 #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);
예제 #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);
예제 #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);
예제 #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);
예제 #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);
예제 #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);