C# Class Framework.Core.Helpers.TransformationRule

Specified word transformation rule (regular expression pattern + replacment rule).
Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
Apply ( String word ) : String

Applies rule to word.

TransformationRule ( String pattern, String replacement ) : System

Initializes a new instance of the TransformationRule class.

Method Details

Apply() public méthode

Applies rule to word.
public Apply ( String word ) : String
word String The word to transform.
Résultat String

TransformationRule() public méthode

Initializes a new instance of the TransformationRule class.
public TransformationRule ( String pattern, String replacement ) : System
pattern String The pattern.
replacement String The replacement.
Résultat System