public InMemoryCollectionLogAdapter()
 {
     _tagSnapshot = new TagSnapshot
     {
         Tags        = new TagReadonlyCollection(new TagCollection()),
         BuiltInTags = new TagReadonlyCollection(new TagCollection())
     };
 }
 /// <summary>
 /// Emulates standard adapter method that stores tags to the underlying logging subsystem.
 /// This method just stores tag values to inmemory collection, to be accessible for test purposes.
 /// </summary>
 /// <param name="tags">Tag collection.</param>
 /// <param name="builtInTags">Built-in tag collection.</param>
 public void InvalidateTags(ITagReadonlyCollection tags, ITagReadonlyCollection builtInTags)
 {
     _tagSnapshot = new TagSnapshot
     {
         Tags        = tags,
         BuiltInTags = builtInTags
     };
 }