Пример #1
0
 public static TestTag Alias(TestTag from, TestTag to)
 {
     if (from.Type != to.Type)
     {
         throw SpecFailure.CannotAliasDifferentTagTypes();
     }
     if (from != to)
     {
         _aliases[from] = to;
     }
     return(from);
 }