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