コード例 #1
0
 public BasicController(MasterController masterController,
                        PipeBuildController pipeBuildController,
                        IBlueprintBuilder blueprintBuilder)
 {
     this.masterController    = masterController;
     this.pipeBuildController = pipeBuildController;
     this.blueprintBuilder    = blueprintBuilder;
 }
コード例 #2
0
        public IController CreateController(IBlueprintBuilder blueprintBuilder,
                                            ITableHighlighter tableHighlighter)
        {
            var controller          = new MasterController(null, null, tableHighlighter);
            var pipeBuildController = new PipeBuildController(controller, blueprintBuilder, new CoordinatePair());
            var basicController     = new BasicController(controller, pipeBuildController, blueprintBuilder);

            controller.BaseController = basicController;
            controller.Reset();
            return(controller);
        }