示例#1
0
 public ProjectService(
     IProjectRepository projectRepository,
     ITagService tagService,
     IEnumerable <ITagActionHandler> tagActionHandlers,
     IProjectOrderService projectOrderService)
 {
     _projectRepository   = projectRepository;
     _tagService          = tagService;
     _tagActionHandlers   = tagActionHandlers;
     _projectOrderService = projectOrderService;
 }
示例#2
0
        public TaskListViewModel(
            IProjectService projectService,
            ITagService tagService,
            IEventAggregator eventAggregator,
            IProjectFilter projectFilter,
            IProjectOrderService projectOrderService,
            INotificationService notificationService)
        {
            _projectService      = projectService;
            _tagService          = tagService;
            _eventAggregator     = eventAggregator;
            _projectFilter       = projectFilter;
            _projectOrderService = projectOrderService;
            _notificationService = notificationService;

            eventAggregator.GetEvent <UpdateProjectListEvent>().Subscribe(Load);

            AddProjectCommand  = new DelegateCommand(AddProject);
            SearchCommand      = new DelegateCommand(SearchProject);
            ClearSearchCommand = new DelegateCommand(ClearSearch);
        }
 public ProjectOrderController(IProjectOrderService projectOriderService,
                               IProjectInformationService projectInformationService) : base(projectOriderService)
 {
     this.projectOriderService      = projectOriderService;
     this.projectInformationService = projectInformationService;
 }