private WordViewModel SetLikelyWordMatchOnBoardForSelectedCell(EmptyCellViewModel value)
        {
            var words = Words.Where(x => x.Cells.Count(y => y.Col == value.Col && y.Row == value.Row) > 0);
            var word  = words.FirstOrDefault();

            return(word);
        }
Exemplo n.º 2
0
 protected bool Equals(EmptyCellViewModel other)
 {
     return(_col == other._col && _row == other._row && string.Equals(_value, other._value, StringComparison.OrdinalIgnoreCase) && _isVisible.Equals(other._isVisible) && string.Equals(_enteredvalue, other._enteredvalue, StringComparison.CurrentCultureIgnoreCase));
 }