コード例 #1
0
 public TagContextSerializationTest()
 {
     tagger     = new Tagger();
     serializer = new TagContextBinarySerializer();
 }
コード例 #2
0
 public TagPropagationComponent(CurrentTaggingState state)
 {
     tagContextBinarySerializer = new TagContextBinarySerializer(state);
 }
コード例 #3
0
 public TagContextDeserializationTest()
 {
     state      = new CurrentTaggingState();
     tagger     = new Tagger(state);
     serializer = new TagContextBinarySerializer(state);
 }
コード例 #4
0
 internal Tags()
 {
     this.state  = new CurrentTaggingState();
     this.tagger = new Tagger(this.state);
     this.tagContextBinarySerializer = new TagContextBinarySerializer(this.state);
 }
コード例 #5
0
 public TagContextDeserializationTest()
 {
     serializer = tagsComponent.TagPropagationComponent.BinarySerializer;
     tagger     = tagsComponent.Tagger;
 }
コード例 #6
0
 public TagContextRoundtripTest()
 {
     serializer = tagsComponent.TagPropagationComponent.BinarySerializer;
     tagger     = tagsComponent.Tagger;
 }
コード例 #7
0
        public void NoopTagContextBinarySerializer_FromByteArray_DisallowsNull()
        {
            ITagContextBinarySerializer noopSerializer = NoopTags.NoopTagContextBinarySerializer;

            Assert.Throws <ArgumentNullException>(() => noopSerializer.FromByteArray(null));
        }
コード例 #8
0
 public TagContextRoundtripTest()
 {
     tagger     = new Tagger();
     serializer = new TagContextBinarySerializer();
 }
コード例 #9
0
 public TagContextRoundtripTest()
 {
     state      = new CurrentTaggingState();
     tagger     = new Tagger(state);
     serializer = new TagContextBinarySerializer(state);
 }
コード例 #10
0
ファイル: Tags.cs プロジェクト: martinjt/opentelemetry-dotnet
 internal Tags()
 {
     this.tagger = new Tagger();
     this.tagContextBinarySerializer = new TagContextBinarySerializer();
 }
コード例 #11
0
 public TagContextBinarySerializerTest()
 {
     serializer = new TagContextBinarySerializer();
 }