C# 클래스 SonarLint.VisualStudio.Integration.UnitTests.TestRuleSetHelper

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

공개 메소드들

메소드 설명
CreateTestRuleSet ( int numRules, IEnumerable includes = null ) : RuleSet
CreateTestRuleSet ( string fullPath ) : RuleSet
CreateTestRuleSet ( string rootDir, string fileName ) : RuleSet
CreateTestRuleSetWithRuleIds ( IEnumerable ids, string analyzerId = "TestId", string ruleNamespace = "TestNamespace", RuleSet existingRuleSet = null ) : RuleSet
RuleSetToXml ( RuleSet ruleSet ) : string
XmlToRuleSet ( string xml ) : RuleSet

메소드 상세

CreateTestRuleSet() 공개 정적인 메소드

public static CreateTestRuleSet ( int numRules, IEnumerable includes = null ) : RuleSet
numRules int
includes IEnumerable
리턴 RuleSet

CreateTestRuleSet() 공개 정적인 메소드

public static CreateTestRuleSet ( string fullPath ) : RuleSet
fullPath string
리턴 RuleSet

CreateTestRuleSet() 공개 정적인 메소드

public static CreateTestRuleSet ( string rootDir, string fileName ) : RuleSet
rootDir string
fileName string
리턴 RuleSet

CreateTestRuleSetWithRuleIds() 공개 정적인 메소드

public static CreateTestRuleSetWithRuleIds ( IEnumerable ids, string analyzerId = "TestId", string ruleNamespace = "TestNamespace", RuleSet existingRuleSet = null ) : RuleSet
ids IEnumerable
analyzerId string
ruleNamespace string
existingRuleSet RuleSet
리턴 RuleSet

RuleSetToXml() 공개 정적인 메소드

public static RuleSetToXml ( RuleSet ruleSet ) : string
ruleSet RuleSet
리턴 string

XmlToRuleSet() 공개 정적인 메소드

public static XmlToRuleSet ( string xml ) : RuleSet
xml string
리턴 RuleSet