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

            presenterControllerMain.AttachInput(interactorMain.GetInputBoundary());
        }
예제 #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());
        }