Exemplo n.º 1
0
 public Ensemble(Ensemble e) : this(e.observers)
 {
     foreach (Cell cell in e.cellsList)
     {
         this.Add(cell);
     }
 }
Exemplo n.º 2
0
        public Cell(Ensemble listColumn, Ensemble listLine, Ensemble listSector, String value, List <String> hypothesis, int posx, int posy, List <IObserver <SudokuObject> > MainConsole)
            : this( MainConsole)
        {
            this.listColumn = listColumn;
            this.listLine   = listLine;
            this.listSector = listSector;

            this.hypothesis = new List <String>(hypothesis);
            this.PosX       = posx;
            this.PosY       = posy;
            this.Value      = value;
        }