SonarLint.VisualStudio.Integration.UnitTests.ConfigurableRuleSetSerializer.IRuleSetSerializer C# (CSharp) Method

IRuleSetSerializer() private method

private IRuleSetSerializer ( string path ) : RuleSet
path string
return RuleSet
        RuleSet IRuleSetSerializer.LoadRuleSet(string path)
        {
            RuleSet rs = null;
            this.savedRuleSets.TryGetValue(path, out rs);
            int counter = 0;
            this.ruleSetLoaded.TryGetValue(path, out counter);
            this.ruleSetLoaded[path] = ++counter;
            rs?.Validate();
            return rs;
        }

Same methods

ConfigurableRuleSetSerializer::IRuleSetSerializer ( RuleSet ruleSet, string path ) : void