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

            Assert.Throws <ArgumentNullException>(() => noopSerializer.FromByteArray(null));
        }
Example #8
0
 public TagContextRoundtripTest()
 {
     tagger     = new Tagger();
     serializer = new TagContextBinarySerializer();
 }
Example #9
0
 public TagContextRoundtripTest()
 {
     state      = new CurrentTaggingState();
     tagger     = new Tagger(state);
     serializer = new TagContextBinarySerializer(state);
 }
Example #10
0
 internal Tags()
 {
     this.tagger = new Tagger();
     this.tagContextBinarySerializer = new TagContextBinarySerializer();
 }
 public TagContextBinarySerializerTest()
 {
     serializer = new TagContextBinarySerializer();
 }