示例#1
0
 public WhiteSpace(int count)
 {
     _symbol = new Symbol(new string(' ', count));
 }
示例#2
0
 public static bool IsVowel(Symbol symbol)
 {
     return symbol.Value != null && symbol.Length == 1 && Vowels.Contains(char.ToUpper(symbol.Value[0]));
 }
示例#3
0
 public static bool IsConsonant(Symbol symbol)
 {
     return symbol.Value != null && symbol.Length == 1 && Consonants.Contains(char.ToUpper(symbol.Value[0]));
 }
示例#4
0
 public Punctuation(string punctuation)
 {
     this._symbol = new Symbol(punctuation);
 }