static B3SpanContextPropagatorTests()
 {
     B3Propagator = ContextPropagators.GetSpanContextPropagator(new[] { nameof(ContextPropagators.Names.B3) }, new[] { nameof(ContextPropagators.Names.B3) });
 }
Exemplo n.º 2
0
        public void TestCombinations(string[] injectors, string[] extractors)
        {
            var propagator = ContextPropagators.GetSpanContextPropagator(injectors, extractors);

            Assert.NotNull(propagator);
        }
 static W3CSpanContextPropagatorTests()
 {
     W3CPropagator = ContextPropagators.GetSpanContextPropagator(new[] { nameof(ContextPropagators.Names.W3C) }, new[] { nameof(ContextPropagators.Names.W3C) });
 }
        static MultiSpanContextPropagatorTests()
        {
            var names = Enum.GetNames(typeof(ContextPropagators.Names));

            Propagator = ContextPropagators.GetSpanContextPropagator(names, names);
        }