public void Serialize(SudokuPuzzle sudoku) { sudoku.GetFields1D().ToList().ForEach(x => fields.Add(new ScoreSudokuField() { row = x.RowIndex, column = x.ColumnIndex, value = x.Value, possibilities = x.Possibilities })); }
public void Serialize(SudokuPuzzle sudoku) { sudoku.GetFields1D().ToList().ForEach(x => fields.Add(new ScoreSudokuField() { row = x.RowIndex, column = x.ColumnIndex, value = x.Value, possibilities = x.Possibilities })); }