private SpanContext(ITraceId traceId, ISpanId spanId, TraceOptions traceOptions)
 {
     TraceId      = traceId;
     SpanId       = spanId;
     TraceOptions = traceOptions;
 }
Beispiel #2
0
 public static TraceOptionsBuilder Builder(TraceOptions traceOptions)
 {
     return(new TraceOptionsBuilder(traceOptions.options));
 }
 public static ISpanContext Create(ITraceId traceId, ISpanId spanId, TraceOptions traceOptions)
 {
     return(new SpanContext(traceId, spanId, traceOptions));
 }