Exemple #1
0
        public CellHandler(int cellIdx, CellColor cellType, CellState cellState, ISelectionController selectionController)
        {
            CellIdx   = cellIdx;
            CellColor = cellType;
            CellState = cellState;
            IsEnabled = cellType == CellColor.Black;

            IsSelected = false;

            _selectionController = selectionController;
        }
Exemple #2
0
 public CustomerActionController(ICustomerController customerController, ILog logger, ISelectionController selectionController)
 {
     this.logger              = logger;
     this.customerController  = customerController;
     this.selectionController = selectionController;
 }