OpenTelemetry.Context.Propagation.TextMapPropagator
Defines an interface for a Propagator of TextMap type,
which uses string key/value pairs to inject and extract
propagation data.
namespace OpenTelemetry.Context.Propagation
{
public abstract class TextMapPropagator
{
public abstract ISet<string> Fields { get; }
public abstract void Inject<[System.Runtime.CompilerServices.Nullable(2)] T>(PropagationContext context, T carrier, Action<T, string, string> setter);
public abstract PropagationContext Extract<[System.Runtime.CompilerServices.Nullable(2)] T>(PropagationContext context, T carrier, Func<T, string, IEnumerable<string>> getter);
protected TextMapPropagator();
}
}