private void RaiseRepositoryChanged(GitRepository repository) { Int64 startTicks = Log.EVENT_HANDLER("Enter", Common.LOG_CATEGORY); GetPullRequestsCommand.RaiseCanExecuteChanged(); GetPullRequestAttachmentsCommand.RaiseCanExecuteChanged(); GetPullRequestCommitsCommand.RaiseCanExecuteChanged(); GetPullRequestIterationsCommand.RaiseCanExecuteChanged(); GetPullRequestLabelsCommand.RaiseCanExecuteChanged(); GetPullRequestPropertiesCommand.RaiseCanExecuteChanged(); GetPullRequestReviewersCommand.RaiseCanExecuteChanged(); GetPullRequestStatusesCommand.RaiseCanExecuteChanged(); GetPullRequestThreadsCommand.RaiseCanExecuteChanged(); GetPullRequestWorkItemsCommand.RaiseCanExecuteChanged(); GetBlobsCommand.RaiseCanExecuteChanged(); GetCommitsCommand.RaiseCanExecuteChanged(); GetImportRequestsCommand.RaiseCanExecuteChanged(); GetItemsCommand.RaiseCanExecuteChanged(); GetMergesCommand.RaiseCanExecuteChanged(); GetPushesCommand.RaiseCanExecuteChanged(); GetRefsCommand.RaiseCanExecuteChanged(); GetStatsCommand.RaiseCanExecuteChanged(); Log.EVENT_HANDLER("Exit", Common.LOG_CATEGORY, startTicks); }
private void RaisePullRequestChanged(PullRequest pullRequest) { Int64 startTicks = Log.EVENT_HANDLER("Enter", Common.LOG_CATEGORY); GetPullRequestAttachmentsCommand.RaiseCanExecuteChanged(); GetPullRequestCommitsCommand.RaiseCanExecuteChanged(); GetPullRequestIterationsCommand.RaiseCanExecuteChanged(); GetPullRequestLabelsCommand.RaiseCanExecuteChanged(); GetPullRequestPropertiesCommand.RaiseCanExecuteChanged(); GetPullRequestReviewersCommand.RaiseCanExecuteChanged(); GetPullRequestStatusesCommand.RaiseCanExecuteChanged(); GetPullRequestThreadsCommand.RaiseCanExecuteChanged(); GetPullRequestWorkItemsCommand.RaiseCanExecuteChanged(); CallPullRequestDependentStuff(pullRequest); Log.EVENT_HANDLER("Exit", Common.LOG_CATEGORY, startTicks); }