Class TextSteppedTransformer
Represents the text stepped transformer.
Implements
Inherited Members
Namespace: Platform.RegularExpressions.Transformer
Assembly: Platform.RegularExpressions.Transformer.dll
Syntax
public class TextSteppedTransformer : ITransformer
Constructors
| Improve this Doc View SourceTextSteppedTransformer()
Initializes a new TextSteppedTransformer instance.
Declaration
public TextSteppedTransformer()
TextSteppedTransformer(IList<ISubstitutionRule>)
Initializes a new TextSteppedTransformer instance.
Declaration
public TextSteppedTransformer(IList<ISubstitutionRule> rules)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | A rules.
|
TextSteppedTransformer(IList<ISubstitutionRule>, String)
Initializes a new TextSteppedTransformer instance.
Declaration
public TextSteppedTransformer(IList<ISubstitutionRule> rules, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | A rules.
|
| String | text | A text.
|
TextSteppedTransformer(IList<ISubstitutionRule>, String, Int32)
Initializes a new TextSteppedTransformer instance.
Declaration
public TextSteppedTransformer(IList<ISubstitutionRule> rules, string text, int current)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | A rules.
|
| String | text | A text.
|
| Int32 | current | A current.
|
Properties
| Improve this Doc View SourceCurrent
Gets or sets the current value.
Declaration
public int Current { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Rules
Gets or sets the rules value.
Declaration
public IList<ISubstitutionRule> Rules { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ISubstitutionRule> |
Text
Gets or sets the text value.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
| Improve this Doc View SourceNext()
Determines whether this instance next.
Declaration
public bool Next()
Returns
| Type | Description |
|---|---|
| Boolean | The bool
|
Reset()
Resets this instance.
Declaration
public void Reset()
Reset(IList<ISubstitutionRule>)
Resets the rules.
Declaration
public void Reset(IList<ISubstitutionRule> rules)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | The rules.
|
Reset(IList<ISubstitutionRule>, String)
Resets the rules.
Declaration
public void Reset(IList<ISubstitutionRule> rules, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | The rules.
|
| String | text | The text.
|
Reset(IList<ISubstitutionRule>, String, Int32)
Resets the rules.
Declaration
public void Reset(IList<ISubstitutionRule> rules, string text, int current)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<ISubstitutionRule> | rules | The rules.
|
| String | text | The text.
|
| Int32 | current | The current.
|
Reset(String)
Resets the text.
Declaration
public void Reset(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| String | text | The text.
|