Ejemplo n.º 1
0
 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
     }));
 }