C# Класс SonarLint.VisualStudio.Integration.Binding.ProjectBindingOperation

Наследование: IBindingOperation
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddFileToProject void
CalculateRuleSetInformation void
CaptureProjectInformation void
GenerateNewProjectRuleSet RuleSet
GenerateNewProjectRuleSetPath string
QueueWriteProjectLevelRuleSet string
TryUpdateExistingProjectRuleSet bool

Открытые методы

Метод Описание
Commit ( ) : void
Initialize ( ) : void
Prepare ( CancellationToken token ) : void
ProjectBindingOperation ( IServiceProvider serviceProvider, Project project, ISolutionRuleStore ruleStore ) : EnvDTE
ShouldIgnoreConfigureRuleSetValue ( string ruleSet ) : bool

Gets whether or not the provided rule set should be ignored for inclusion in a rule set.

Приватные методы

Метод Описание
AddFileToProject ( Project project, string fullFilePath ) : void
CalculateRuleSetInformation ( ) : void
CaptureProjectInformation ( ) : void
GenerateNewProjectRuleSet ( string solutionIncludePath, string currentRuleSetPath, string ruleSetName ) : RuleSet

Generate a new project level rule set with the provided inclusions (if not an ignored rule set).

GenerateNewProjectRuleSetPath ( string ruleSetRootPath, string ruleSetFileName ) : string

Generate a project level rule set file path from the given project name.

QueueWriteProjectLevelRuleSet ( string projectFullPath, string ruleSetFileName, RuleSetInformation solutionRuleSet, string currentRuleSetPath ) : string

Queues a write to a project-level SonarQube RuleSet file in the directory.

TryUpdateExistingProjectRuleSet ( string solutionRuleSetPath, string projectRuleSetRootFolder, string currentRuleSet, string &existingRuleSetPath, RuleSet &existingRuleSet ) : bool

Описание методов

Commit() публичный Метод

public Commit ( ) : void
Результат void

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

Prepare() публичный Метод

public Prepare ( CancellationToken token ) : void
token System.Threading.CancellationToken
Результат void

ProjectBindingOperation() публичный Метод

public ProjectBindingOperation ( IServiceProvider serviceProvider, Project project, ISolutionRuleStore ruleStore ) : EnvDTE
serviceProvider IServiceProvider
project Project
ruleStore ISolutionRuleStore
Результат EnvDTE

ShouldIgnoreConfigureRuleSetValue() публичный статический Метод

Gets whether or not the provided rule set should be ignored for inclusion in a rule set.
public static ShouldIgnoreConfigureRuleSetValue ( string ruleSet ) : bool
ruleSet string
Результат bool