Exemplo n.º 1
0
 public AreasViewModel(ICurrentProjectService currentProjectService, IAreaService areaController, INavigationController navigation)
 {
     this._currentProjectService = currentProjectService;
     this._areaController        = areaController;
     this._navigation            = navigation;
     _subscription      = _currentProjectService.Register(OnProjectChanged);
     Areas              = new ObservableCollection <CommandWrapper>();
     CreateIssueCommand = new DelegateCommand <AreaInfo>(CreateIssue);
 }
Exemplo n.º 2
0
 public DashboardViewModel(ICurrentProjectService currentProjectService, IIssueService issueService, INavigationController navigation)
 {
     _issueService          = issueService;
     _currentProjectService = currentProjectService;
     _subscription          = currentProjectService.Register(ProjectChanged);
 }