Exemplo n.º 1
0
 protected Word GetRandomUnusedWordByWildCardPattern(int minLen, int maxLen, string wildcard)
 {
     return(GetRandomUnusedWord(W => (W.PrimarySpelling.Length >= minLen) &&
                                (W.PrimarySpelling.Length <= maxLen) &&
                                Wildcards.isMatch(W.PrimarySpelling, wildcard, false)));
 }
Exemplo n.º 2
0
 public List <Word> GetdWordsWildCard(string pattern)
 {
     return(GetdWords(W => Wildcards.isMatch(W.PrimarySpelling, pattern, false)));
 }
Exemplo n.º 3
0
 protected Word GetRandomUnusedWordByWildCardPattern(string wildcard)
 {
     return(GetRandomUnusedWord(W => Wildcards.isMatch(W.PrimarySpelling, wildcard, false)));
 }