C# Class SonarLint.VisualStudio.Integration.Binding.SolutionBindingOperation

Solution level binding by delegating some of the work to ProjectBindingOperation
Inheritance: ISolutionRuleStore
Exibir arquivo Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Property Type Description
AddFileToSolutionItems void
PendBindingInformation void
RemoveFileFromSolutionItems void

Public Methods

Method Description
CommitSolutionBinding ( ) : bool
GetRuleSetInformation ( System.Language language ) : RuleSetInformation
Initialize ( IEnumerable projects, QualityProfile>.IDictionary profilesMap ) : void
Prepare ( CancellationToken token ) : void
RegisterKnownRuleSets ( RuleSet>.IDictionary ruleSets ) : void
SolutionBindingOperation ( IServiceProvider serviceProvider, ConnectionInformation connection, string sonarQubeProjectKey ) : EnvDTE

Private Methods

Method Description
AddFileToSolutionItems ( string fullFilePath ) : void
PendBindingInformation ( ConnectionInformation connInfo ) : void

Will bend add/edit the binding information for next time usage

RemoveFileFromSolutionItems ( string fullFilePath ) : void

Method Details

CommitSolutionBinding() public method

public CommitSolutionBinding ( ) : bool
return bool

GetRuleSetInformation() public method

public GetRuleSetInformation ( System.Language language ) : RuleSetInformation
language System.Language
return RuleSetInformation

Initialize() public method

public Initialize ( IEnumerable projects, QualityProfile>.IDictionary profilesMap ) : void
projects IEnumerable
profilesMap QualityProfile>.IDictionary
return void

Prepare() public method

public Prepare ( CancellationToken token ) : void
token System.Threading.CancellationToken
return void

RegisterKnownRuleSets() public method

public RegisterKnownRuleSets ( RuleSet>.IDictionary ruleSets ) : void
ruleSets RuleSet>.IDictionary
return void

SolutionBindingOperation() public method

public SolutionBindingOperation ( IServiceProvider serviceProvider, ConnectionInformation connection, string sonarQubeProjectKey ) : EnvDTE
serviceProvider IServiceProvider
connection SonarLint.VisualStudio.Integration.Service.ConnectionInformation
sonarQubeProjectKey string
return EnvDTE