Class TextTransformer
Represents the text transformer.
Inherited Members
Namespace: Platform.RegularExpressions.Transformer
Assembly: Platform.RegularExpressions.Transformer.dll
Syntax
public class TextTransformer : ITextTransformer, ITransformer
Constructors
| Improve this Doc View SourceTextTransformer(IList<ISubstitutionRule>)
Initializes a new TextTransformer instance.
Declaration
public TextTransformer(IList<ISubstitutionRule> substitutionRules)
Parameters
Type | Name | Description |
---|---|---|
IList<ISubstitutionRule> | substitutionRules | A substitution rules.
|
Properties
| Improve this Doc View SourceRules
Gets or sets the rules value.
Declaration
public IList<ISubstitutionRule> Rules { get; }
Property Value
Type | Description |
---|---|
IList<ISubstitutionRule> |
Methods
| Improve this Doc View SourceTransform(String)
Transforms the source.
Declaration
public string Transform(string source)
Parameters
Type | Name | Description |
---|---|---|
String | source | The source.
|
Returns
Type | Description |
---|---|
String | The string
|