C# Class SonarLint.VisualStudio.Integration.SolutionRuleSetsInformationProvider

Inheritance: ISolutionRuleSetsInformationProvider
显示文件 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
CalculateSolutionSonarQubeRuleSetFilePath ( string sonarQubeProjectKey, System.Language language ) : string
GetProjectRuleSetsDeclarations ( Project project ) : IEnumerable
GetSolutionSonarQubeRulesFolder ( ) : string
SolutionRuleSetsInformationProvider ( IServiceProvider serviceProvider ) : EnvDTE
TryGetProjectRuleSetFilePath ( Project project, RuleSetDeclaration declaration, string &fullFilePath ) : bool

Private Methods

Method Description
GenerateSolutionRuleSetPath ( string ruleSetRootPath, string sonarQubeProjectKey, string fileNameSuffix ) : string

Generate a solution level rule set file path base on sonarQubeProjectKey and fileNameSuffix

TryGetPropertyConfiguration ( System.Property property ) : Configuration

Method Details

CalculateSolutionSonarQubeRuleSetFilePath() public method

public CalculateSolutionSonarQubeRuleSetFilePath ( string sonarQubeProjectKey, System.Language language ) : string
sonarQubeProjectKey string
language System.Language
return string

GetProjectRuleSetsDeclarations() public method

public GetProjectRuleSetsDeclarations ( Project project ) : IEnumerable
project Project
return IEnumerable

GetSolutionSonarQubeRulesFolder() public method

public GetSolutionSonarQubeRulesFolder ( ) : string
return string

SolutionRuleSetsInformationProvider() public method

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

TryGetProjectRuleSetFilePath() public method

public TryGetProjectRuleSetFilePath ( Project project, RuleSetDeclaration declaration, string &fullFilePath ) : bool
project Project
declaration RuleSetDeclaration
fullFilePath string
return bool