C# Class Aqueduct.Extensions.Inflector.InflectorRule

Summary for the InflectorRule class
Afficher le fichier Open project: aqueduct/Aqueduct.SitecoreLib

Méthodes publiques

Свойство Type Description
regex System.Text.RegularExpressions.Regex
replacement string

Méthodes publiques

Méthode Description
Apply ( string word ) : string

Applies the specified word.

InflectorRule ( string regexPattern, string replacementText ) : System

Initializes a new instance of the InflectorRule class.

Method Details

Apply() public méthode

Applies the specified word.
public Apply ( string word ) : string
word string The word.
Résultat string

InflectorRule() public méthode

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.
Résultat System

Property Details

regex public_oe property

public Regex,System.Text.RegularExpressions regex
Résultat System.Text.RegularExpressions.Regex

replacement public_oe property

public string replacement
Résultat string