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