Пример #1
0
 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))
         );
 }