public MergePage( [Import] TfsBranchProvider tfsBranchProvider, [Import] ChangesetProvider changesetProvider) { this.tfsBranchProvider = tfsBranchProvider; this.changesetProvider = changesetProvider; }
public BranchDropDownViewModel(TeamExplorerPageViewModelBase teamExplorerPageViewModelBase, TfsBranchProvider tfsBranchProvider) : base(teamExplorerPageViewModelBase) { this.tfsBranchProvider = tfsBranchProvider; SelectBranchCommand = new RelayCommand(SelectBranch); }
public MergePageViewModel( MergeModel model, TfsBranchProvider tfsBranchProvider, ChangesetProvider changesetProvider) { this.changesetProvider = changesetProvider; this.Title = "Merge"; this.Model = model; this.BranchDropDownViewModel = new BranchDropDownViewModel(this, tfsBranchProvider); ViewPendingChangesCommand = new RelayCommand(NavigateToPendingChangesPage); PullCommand = new RelayCommand(Pull); PushCommand = new RelayCommand(Push); SyncCommand = new RelayCommand(Sync); }