public TeamViewModel(INavigationService navigationService, IDialogService dialogService, IVsoDataService vsoDataService) { this._navigationService = navigationService; this._dialogService = dialogService; this._vsoDataService = vsoDataService; this.CreateCommands(); }
public MainViewModel(INavigationService navigationService, IVsoDataService dataService, IDialogService dialogService) { this._navigationService = navigationService; this._dataService = dataService; this._dialogService = dialogService; this.RefreshCommand = new RelayCommand(async () => await this.RefreshProjectsAsync()); this.OpenProjectCommand = new RelayCommand<Project>(this.OpenProjectDetails); this.OpenProcessCommand = new RelayCommand<Process>(this.OpenProcessDetails); this.OpenHookCommand = new RelayCommand<Hook>(this.OpenHookDetails); this.OpenSubscriptionCommand = new RelayCommand<Subscription>(subscription => { /*TODO*/ }); }
public TeamMemberDetailsViewModel(INavigationService navigationService, IDialogService dialogService, IVsoDataService vsoDataService) { this._navigationService = navigationService; this._dialogService = dialogService; this._vsoDataService = vsoDataService; }