C# Class SonarLint.VisualStudio.Integration.Vsix.ProjectExcludePropertyToggleCommand

Command handler to toggle the <SonarQubeExclude/> project property.
Will toggle between removing the property, and setting it to 'true'.
Inheritance: VsCommandBase
显示文件 Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
ProjectExcludePropertyToggleCommand ( IServiceProvider serviceProvider ) : EnvDTE

Protected Methods

Method Description
InvokeInternal ( ) : void
QueryStatusInternal ( Microsoft.VisualStudio.Shell.OleMenuCommand command ) : void

Private Methods

Method Description
ToggleProperty ( Project project ) : void

Method Details

InvokeInternal() protected method

protected InvokeInternal ( ) : void
return void

ProjectExcludePropertyToggleCommand() public method

public ProjectExcludePropertyToggleCommand ( IServiceProvider serviceProvider ) : EnvDTE
serviceProvider IServiceProvider
return EnvDTE

QueryStatusInternal() protected method

protected QueryStatusInternal ( Microsoft.VisualStudio.Shell.OleMenuCommand command ) : void
command Microsoft.VisualStudio.Shell.OleMenuCommand
return void