예제 #1
0
파일: Program.cs 프로젝트: ad222kr/1dv607
        static void Main(string[] args)
        {
            var appView = new AppView();
            var memberView = new MemberView();
            var boatView = new BoatView();
            var memberController = new MemberController(memberView);
            var boatController = new BoatController(boatView);
            var appController = new AppController(appView, boatController, memberController);

            appController.Start();
        }
예제 #2
0
 public AppController(AppView appView, BoatController boatController, MemberController memberController)
 {
     _view = appView;
     _boatController = boatController;
     _memberController = memberController;
 }