C# 클래스 SonarLint.VisualStudio.Integration.Binding.ProjectBindingOperation

상속: IBindingOperation
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarlint-visualstudio 1 사용 예제들

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