示例#1
0
 private void ValidatePrivateUse()
 {
     if (_privateUse.Contains("x"))
     {
         throw new ValidationException("Private Use tag may not contain 'x'");
     }
     _privateUse.ThrowIfSubtagContainsInvalidContent();
     _privateUse.ThrowIfSubtagContainsDuplicates();
 }
示例#2
0
 public bool VariantContains(string tagToFind)
 {
     return(_variant.Contains(tagToFind));
 }