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