/// <summary>
 /// Initializes a new instance of the Sudoku.Common.Cell class
 /// with the specified puzzle alphabet and observer.
 /// </summary>
 /// <param name="alphabet">The collection of all possible cell values.</param>
 /// <param name="cellObserver">The observer of this cell.</param>
 public Cell(Alphabet alphabet, ICellObserver cellObserver)
 {
     _CellObserver = cellObserver;
     _RemainingPossibilities = alphabet.Clone();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the Sudoku.Common.Cell class
 /// with the specified puzzle alphabet and observer.
 /// </summary>
 /// <param name="alphabet">The collection of all possible cell values.</param>
 /// <param name="cellObserver">The observer of this cell.</param>
 public Cell(Alphabet alphabet, ICellObserver cellObserver)
 {
     _CellObserver           = cellObserver;
     _RemainingPossibilities = alphabet.Clone();
 }