9 references to AddCommand
Microsoft.VisualStudio.LanguageServices (9)
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (7)
78
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, RunCodeAnalysisForSelectedProjectCommandId, VSConstants.VSStd2K, OnRunCodeAnalysisForSelectedProject, OnRunCodeAnalysisForSelectedProjectStatus);
79
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.RunCodeAnalysisForProject, Guids.RoslynGroupId, OnRunCodeAnalysisForSelectedProject, OnRunCodeAnalysisForSelectedProjectStatus);
80
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.AnalysisScopeDefault, Guids.RoslynGroupId, OnSetAnalysisScopeDefault, OnSetAnalysisScopeDefaultStatus);
81
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.AnalysisScopeCurrentDocument, Guids.RoslynGroupId, OnSetAnalysisScopeCurrentDocument, OnSetAnalysisScopeCurrentDocumentStatus);
82
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.AnalysisScopeOpenDocuments, Guids.RoslynGroupId, OnSetAnalysisScopeOpenDocuments, OnSetAnalysisScopeOpenDocumentsStatus);
83
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.AnalysisScopeEntireSolution, Guids.RoslynGroupId, OnSetAnalysisScopeEntireSolution, OnSetAnalysisScopeEntireSolutionStatus);
84
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.AnalysisScopeNone, Guids.RoslynGroupId, OnSetAnalysisScopeNone, OnSetAnalysisScopeNoneStatus);
SyncNamespaces\SyncNamespacesCommandHandler.cs (1)
63
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.SyncNamespaces, Guids.RoslynGroupId, OnSyncNamespacesForSelectedProject, OnSyncNamespacesForSelectedProjectStatus);
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (1)
72
VisualStudioCommandHandlerHelpers.
AddCommand
(menuCommandService, ID.RoslynCommands.RemoveUnusedReferences, Guids.RoslynGroupId, OnRemoveUnusedReferencesForSelectedProject, OnRemoveUnusedReferencesForSelectedProjectStatus);