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