public void AttachService(ServiceBuilder service)
        {
            if (interactorMain != null)
            {
                return;
            }
            interactorMain = new InteractorMain(service.GetPointControlDataGateway(),
                                                presenterControllerMain.GetOutputBoundary());

            presenterControllerMain.AttachInput(interactorMain.GetInputBoundary());
        }
Beispiel #2
0
        public static void Main()
        {
            Application app = new Application();
            //app.Run(new PointControl.PointControlView());

            ServiceBuilder service = new ServiceBuilder();

            PointControlRunner pointControlrunner = new PointControlRunner();

            pointControlrunner.AttachService(service);

            app.Run(pointControlrunner.Run());
        }