7 references to Instance
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\DistributedContextPropagator.cs (1)
94
public static DistributedContextPropagator CreateDefaultPropagator() => LegacyPropagator.
Instance
;
System\Diagnostics\NoOutputPropagator.cs (3)
12
public override IReadOnlyCollection<string> Fields { get; } = LegacyPropagator.
Instance
.Fields;
19
public override void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState) => LegacyPropagator.
Instance
.ExtractTraceIdAndState(carrier, getter, out traceId, out traceState);
21
public override IEnumerable<KeyValuePair<string, string?>>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter) => LegacyPropagator.
Instance
.ExtractBaggage(carrier, getter);
System\Diagnostics\PassThroughPropagator.cs (3)
12
public override IReadOnlyCollection<string> Fields { get; } = LegacyPropagator.
Instance
.Fields;
40
public override void ExtractTraceIdAndState(object? carrier, PropagatorGetterCallback? getter, out string? traceId, out string? traceState) => LegacyPropagator.
Instance
.ExtractTraceIdAndState(carrier, getter, out traceId, out traceState);
42
public override IEnumerable<KeyValuePair<string, string?>>? ExtractBaggage(object? carrier, PropagatorGetterCallback? getter) => LegacyPropagator.
Instance
.ExtractBaggage(carrier, getter);