Show / Hide Table of Contents

    Class TextTransformer

    Represents the text transformer.

    Inheritance
    Object
    TextTransformer
    Implements
    ITextTransformer
    ITransformer
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.RegularExpressions.Transformer
    Assembly: Platform.RegularExpressions.Transformer.dll
    Syntax
    public class TextTransformer : ITextTransformer, ITransformer

    Constructors

    | Improve this Doc View Source

    TextTransformer(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 Source

    Rules

    Gets or sets the rules value.

    Declaration
    public IList<ISubstitutionRule> Rules { get; }
    Property Value
    Type Description
    IList<ISubstitutionRule>

    Methods

    | Improve this Doc View Source

    Transform(String)

    Transforms the source.

    Declaration
    public string Transform(string source)
    Parameters
    Type Name Description
    String source

    The source.

    Returns
    Type Description
    String

    The string

    Implements

    ITextTransformer
    ITransformer

    Extension Methods

    ITextTransformerExtensions.GenerateTransformersForEachRule(ITextTransformer)
    ITextTransformerExtensions.GetSteps(ITextTransformer, String)
    ITextTransformerExtensions.WriteStepsToFiles(ITextTransformer, String, String, Boolean)

    See Also

    ITextTransformer
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX