Aqueduct.Extensions.Inflector.InflectorRule.InflectorRule C# (CSharp) Method

InflectorRule() public method

Initializes a new instance of the InflectorRule class.
public InflectorRule ( string regexPattern, string replacementText ) : System
regexPattern string The regex pattern.
replacementText string The replacement text.
return System
            public InflectorRule(string regexPattern, string replacementText)
            {
                regex = new Regex(regexPattern, RegexOptions.IgnoreCase);
                replacement = replacementText;
            }
Inflector.InflectorRule