Example #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)));
 }
Example #2
0
 public List <Word> GetdWordsWildCard(string pattern)
 {
     return(GetdWords(W => Wildcards.isMatch(W.PrimarySpelling, pattern, false)));
 }
Example #3
0
 protected Word GetRandomUnusedWordByWildCardPattern(string wildcard)
 {
     return(GetRandomUnusedWord(W => Wildcards.isMatch(W.PrimarySpelling, wildcard, false)));
 }