Beispiel #1
0
 public MemberController(model.Roster roster, view.MemberView memberView, view.BoatView boatView)
 {
     Roster         = roster;
     MemberView     = memberView;
     BoatView       = boatView;
     BoatController = new BoatController(BoatView, Roster);
 }
 public HandleMembers()
 {
     m_list = new model.MemberList();
     m_baseView = new view.BaseView();
     m_boatView = new view.BoatView();
     m_listView = new view.MemberListView(m_list.Members);
     m_boatController = new controller.HandleBoats(m_baseView, m_boatView);
 }
Beispiel #3
0
 public Controller(view.MainView cV, view.MemberView mV, view.MemberListView mlV, view.BoatView bV, view.BoatListView bLV)
 {
     MainView = cV;
     MemberView = mV;
     MemberListView = mlV;
     BoatView = bV;
     BoatListView = bLV;
 }
Beispiel #4
0
 public RegistryController()
 {
     _startView  = new view.StartView();
     _memberView = new view.MemberView();
     _boatView   = new view.BoatView();
     _list       = new model.MemberList();
     _listView   = new view.MemberListView(_list);
 }
 public RegistryController()
 {
     _startView = new view.StartView();
     _memberView = new view.MemberView();
     _boatView = new view.BoatView();
     _list = new model.MemberList();
     _listView = new view.MemberListView(_list);
 }
Beispiel #6
0
 public Controller()
 {
     _savedData      = new model.TextFileSave();
     _memberRegister = new model.MemberRegister(_savedData);
     _cView          = new view.ConsoleView();
     _mView          = new view.MemberView();
     _bView          = new view.BoatView();
     _vView          = new view.ValidationView();
 }
 public HandleMembers()
 {
     m_list = new model.MemberList(new model.SearchStrategies.AllUsersStrategy());
     m_admin = new model.Admin();
     m_baseView = new view.BaseView();
     m_boatView = new view.BoatView();
     m_listView = new view.MemberListView(m_list.Members);
     m_boatController = new controller.HandleBoats(m_baseView, m_boatView);
 }
Beispiel #8
0
 public User()
 {
     Console          = new view.Console();
     BoatView         = new view.BoatView();
     MemberView       = new view.MemberView();
     Roster           = new model.Roster(Console, MemberView);
     RosterController = new RosterController(MemberView, Roster);
     MemberController = new MemberController(Roster, MemberView, BoatView);
 }
Beispiel #9
0
 public HandleBoats(view.BaseView baseView, view.BoatView boatView)
 {
     m_baseView = baseView;
     m_boatView = boatView;
 }
 public BoatController(view.BoatView boatView, model.Roster roster)
 {
     BoatView = boatView;
     Roster   = roster;
 }