C# Class SonarLint.VisualStudio.Integration.RuleSetSerializer

Inheritance: IRuleSetSerializer
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
LoadRuleSet ( string ruleSetPath ) : RuleSet
RuleSetSerializer ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio.CodeAnalysis.RuleSets
WriteRuleSetFile ( RuleSet ruleSet, string ruleSetPath ) : void

Method Details

LoadRuleSet() public method

public LoadRuleSet ( string ruleSetPath ) : RuleSet
ruleSetPath string
return RuleSet

RuleSetSerializer() public method

public RuleSetSerializer ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio.CodeAnalysis.RuleSets
serviceProvider IServiceProvider
return Microsoft.VisualStudio.CodeAnalysis.RuleSets

WriteRuleSetFile() public method

public WriteRuleSetFile ( RuleSet ruleSet, string ruleSetPath ) : void
ruleSet RuleSet
ruleSetPath string
return void