Exemple #1
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();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the Sudoku.Common.Cell class
 /// with the specified puzzle alphabet.
 /// </summary>
 /// <param name="alphabet">The collection of all possible cell values.</param>
 public Cell(Alphabet alphabet)
 {
     _RemainingPossibilities = alphabet.Clone();
 }