Example #1
0
 public TagScope(ITagThreadContext threadContext, TagScope parentTagScope)
     : this( threadContext )
 {
     _parentTagScope = parentTagScope;
     GenerateThreadCorrelationId(parentTagScope.ThreadCorrelationId);
     _inheritedTags = new TagReadonlyCollection(parentTagScope._effectiveTags);
     _effectiveTags = new TagEffectiveCollection(_inheritedTags, _tags);
 }
Example #2
0
 public TagScope(ITagThreadContext threadContext, ITagReadonlyCollection applicationScopeTags)
     : this( threadContext )
 {
     _inheritedTags = new TagReadonlyCollection(applicationScopeTags);
     _effectiveTags = new TagEffectiveCollection(_inheritedTags, _tags);
 }