Class ITextTransformerExtensions
Represents the text transformer extensions.
Inherited Members
Namespace: Platform.RegularExpressions.Transformer
Assembly: Platform.RegularExpressions.Transformer.dll
Syntax
public static class ITextTransformerExtensions
Methods
| Improve this Doc View SourceGenerateTransformersForEachRule(ITextTransformer)
Generates the transformers for each rule using the specified transformer.
Declaration
public static IList<ITextTransformer> GenerateTransformersForEachRule(this ITextTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
IText |
transformer | The transformer.
|
Returns
Type | Description |
---|---|
IList<IText |
The transformers.
|
GetSteps(ITextTransformer, String)
Gets the steps using the specified transformer.
Declaration
public static IList<string> GetSteps(this ITextTransformer transformer, string sourceText)
Parameters
Type | Name | Description |
---|---|---|
IText |
transformer | The transformer.
|
String | sourceText | The source text.
|
Returns
| Improve this Doc View SourceWriteStepsToFiles(ITextTransformer, String, String, Boolean)
Writes the steps to files using the specified transformer.
Declaration
public static void WriteStepsToFiles(this ITextTransformer transformer, string sourceText, string targetPath, bool skipFilesWithNoChanges)
Parameters
Type | Name | Description |
---|---|---|
IText |
transformer | The transformer.
|
String | sourceText | The source text.
|
String | targetPath | The target path.
|
Boolean | skipFilesWithNoChanges | The skip files with no changes.
|