Beispiel #1
0
 public bool IsAllowedCharacter(char c)
 {
     return(VersionTypeTraitsUtils.IsCharDigit(c) || c == '.' || c == '-' || VersionTypeTraitsUtils.IsCharLetter(c));
 }
Beispiel #2
0
 public bool IsAllowedLastCharacter(char c, bool strict = false)
 {
     return(VersionTypeTraitsUtils.IsCharDigit(c) || VersionTypeTraitsUtils.IsCharLetter(c));
 }