public ChangeDetailViewMode(ITFService tfsService) { test = new List <string>(); for (int i = 0; i < 10000; i++) { test.Add("#######################################"); } _tfsService = tfsService; PropertyChanged += ChangeDetailViewMode_PropertyChanged; }
public SettingViewModel(ITFService tfsService, SystemMessenger sysMessenger) : base(sysMessenger) { _tfsService = tfsService; _VerifyConnectionCommand = new DelegateCommand <object>(VerifyConnectionCommand_Execute, VerifyConnectionCommand_CanExecute); _VSTSUrl = UserSetting.TFSCollectionUri; _VSTSProjectName = UserSetting.TFSProjectName; _VSTSUsername = UserSetting.TFSUsername; _VSTSPassword = UserSetting.TFSPassword; PropertyChanged += SettingViewModel_PropertyChanged; }
public ChangesetQueryViewModel(ITFService tfsService, SystemMessenger sysMessenger) : base(sysMessenger) { _tfsService = tfsService; _LoadedCommand = new DelegateCommand <object>(LoadedCommand_Execute); _ExecuteQueryCommand = new DelegateCommand <object>(ExecuteQueryCommand_Execute); _CheckChangesetCommand = new DelegateCommand <object>(CheckChangesetCommand_Execute, CheckChangesetCommand_CanExecute); _LoadMoreCommand = new DelegateCommand <object>(LoadMoreCommand_Execute, LoadMoreCommand_CanExecute); _ResultChangeset = new ObservableCollection <VSTSChangeset>(); PropertyChanged += ChangesetQueryViewModel_PropertyChanged; ResultChangeset.CollectionChanged += ResultChangeset_CollectionChanged; }