public TagsAttribute(params string[] tags) { if (tags == null) { throw new ArgumentNullException(nameof(tags)); } if (tags.Length == 0) { throw SpecFailure.EmptyCollection(nameof(tags)); } _tags = new List <TestTag>( tags.Select(s => TestTag.Parse(s)) ); }
public TagAttribute(string tag) { Tag = TestTag.Parse(tag); }