Tests.TestFileSystem.SetTags C# (CSharp) Method

SetTags() public method

public SetTags ( string>.Dictionary tags ) : void
tags string>.Dictionary
return void
        public void SetTags(Dictionary<FrameType, string> tags)
        {
            foreach (var tag in tags)
            {
                if (_actualFile.Tags.ContainsKey(tag.Key))
                {
                    _actualFile.Tags[tag.Key] = tag.Value;
                }
                else
                    _actualFile.Tags.Add(tag.Key, tag.Value);
            }
        }