public CourseViewModel(IEventAggregator eventAggregator, IWindowManager manager, SimpleContainer container, ICourseRepository courseRepository)
 {
     _eventAggregator          = eventAggregator;
     _manager                  = manager;
     _container                = container;
     _courseRepository         = courseRepository;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, _container);
 }
Beispiel #2
0
 public ClassViewModel(IWindowManager manager, SimpleContainer container, IEventAggregator aggregator,
                       IClassRepository classRepository)
 {
     _manager                  = manager;
     _container                = container;
     _aggregator               = aggregator;
     _classRepository          = classRepository;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _aggregator, _container);
 }
 public DepartmentViewModel(IDepartmentRepository departmentRepository, IEventAggregator eventAggregator,
                            IWindowManager manager, SimpleContainer container)
 {
     _departmentRepository = departmentRepository;
     _eventAggregator      = eventAggregator;
     _manager   = manager;
     _container = container;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, container);
 }
 public StudentViewModel(IStudentRepository studentRepository, IEventAggregator aggregator,
                         IWindowManager manager, SimpleContainer container)
 {
     _studentRepository        = studentRepository;
     _manager                  = manager;
     _container                = container;
     _eventAggregator          = aggregator;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, _container);
 }
Beispiel #5
0
 public DepartmentProfessorViewModel(IDepartmentRepository departmentRepository, IEventAggregator eventAggregator,
                                     IWindowManager manager, SimpleContainer container)
 {
     _departmentRepository = departmentRepository;
     _eventAggregator      = eventAggregator;
     _manager   = manager;
     _container = container;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, _container);
     _eventAggregator.SubscribeOnPublishedThread(this);
 }
 public AddStudentViewModel(IWindowManager manager, IEventAggregator eventAggregator, SimpleContainer container,
                            IStudentRepository studentRepository, IClassRepository classRepository)
 {
     _manager                  = manager;
     _eventAggregator          = eventAggregator;
     _container                = container;
     _studentRepository        = studentRepository;
     _classRepository          = classRepository;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, _container);
 }
Beispiel #7
0
 public UpdateStudentViewModel(IWindowManager manager, IEventAggregator eventAggregator, SimpleContainer container,
                               IStudentRepository studentRepository, IClassRepository classRepository)
 {
     _manager                  = manager;
     _eventAggregator          = eventAggregator;
     _container                = container;
     _studentRepository        = studentRepository;
     _classRepository          = classRepository;
     _confirmationDialogHelper = new ConfirmationDialogHelper(_manager, _eventAggregator, _container);
     _eventAggregator.SubscribeOnPublishedThread(this);
 }