private void RaiseDefinitionChanged(Domain.Build.Definition definition) { Int64 startTicks = Log.EVENT_HANDLER("Enter", Common.LOG_CATEGORY); GetResourcesCommand.RaiseCanExecuteChanged(); Log.EVENT_HANDLER("Exit", Common.LOG_CATEGORY, startTicks); }
private void RaiseProjectChanged(Project project) { Int64 startTicks = Log.EVENT_HANDLER("Enter", Common.LOG_CATEGORY); GetProjectsCommand.RaiseCanExecuteChanged(); GetDashboardsCommand.RaiseCanExecuteChanged(); GetWidgetsCommand.RaiseCanExecuteChanged(); // Build GetAuthorizedResourcesCommand.RaiseCanExecuteChanged(); GetBuildsCommand.RaiseCanExecuteChanged(); GetDefinitionsCommand.RaiseCanExecuteChanged(); GetGeneralSettingsCommand.RaiseCanExecuteChanged(); GetOptionsCommand.RaiseCanExecuteChanged(); GetResourcesCommand.RaiseCanExecuteChanged(); GetSettingsCommand.RaiseCanExecuteChanged(); GetBuildTagsCommand.RaiseCanExecuteChanged(); // Git GetProjectRepositoriesCommand.RaiseCanExecuteChanged(); GetPullRequestsCommand.RaiseCanExecuteChanged(); GetBlobsCommand.RaiseCanExecuteChanged(); GetCommitsCommand.RaiseCanExecuteChanged(); GetImportRequestsCommand.RaiseCanExecuteChanged(); GetItemsCommand.RaiseCanExecuteChanged(); GetMergesCommand.RaiseCanExecuteChanged(); GetPushesCommand.RaiseCanExecuteChanged(); GetRefsCommand.RaiseCanExecuteChanged(); GetStatsCommand.RaiseCanExecuteChanged(); // Test GetTestPlansCommand.RaiseCanExecuteChanged(); // Work Item Tracking GetClassificationNodesCommand.RaiseCanExecuteChanged(); GetProjectFieldsWITCommand.RaiseCanExecuteChanged(); GetQueriesCommand.RaiseCanExecuteChanged(); GetTagsCommand.RaiseCanExecuteChanged(); GetTemplatesCommand.RaiseCanExecuteChanged(); GetWorkItemRelationTypesCommand.RaiseCanExecuteChanged(); GetWorkItemTypeCategoriesCommand.RaiseCanExecuteChanged(); GetStatesWITCommand.RaiseCanExecuteChanged(); GetWorkItemTypesWITCommand.RaiseCanExecuteChanged(); GetWorkItemTypesFieldsCommand.RaiseCanExecuteChanged(); GetWorkItemCommand.RaiseCanExecuteChanged(); Log.EVENT_HANDLER("Exit", Common.LOG_CATEGORY, startTicks); }