NPetrovich.Inflection.CaseInflection.FindAndApply C# (CSharp) Method

FindAndApply() private method

private FindAndApply ( string name, Case @case, RuleSet ruleSet, bool>.Dictionary features ) : string
name string
@case Case
ruleSet NPetrovich.Rules.Data.RuleSet
features bool>.Dictionary
return string
        private string FindAndApply(string name, Case @case, RuleSet ruleSet, Dictionary<string, bool> features)
        {
            Rule rule = FindRulesFor(name, ruleSet, features);

            if (rule == null)
                return name;

            return Apply(name, @case, rule);
        }