Show / Hide Table of Contents

    Class MarkdownRewriteEngine

    Inheritance
    Object
    MarkdownRewriteEngine
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.MarkdownLite
    Assembly:Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public class MarkdownRewriteEngine : IMarkdownRewriteEngine

    Constructors

    MarkdownRewriteEngine(IMarkdownEngine, IMarkdownTokenRewriter)

    Declaration
    public MarkdownRewriteEngine(IMarkdownEngine engine, IMarkdownTokenRewriter rewriter)
    Parameters
    Type Name Description
    IMarkdownEngine engine
    IMarkdownTokenRewriter rewriter

    Properties

    Engine

    Declaration
    public IMarkdownEngine Engine { get; }
    Property Value
    Type Description
    IMarkdownEngine
    Implements
    IMarkdownRewriteEngine.Engine

    Methods

    Complete()

    Declaration
    public virtual void Complete()
    Implements
    IMarkdownRewriteEngine.Complete()

    GetParents()

    Declaration
    public virtual ImmutableArray<IMarkdownToken> GetParents()
    Returns
    Type Description
    System.Collections.Immutable.ImmutableArray<IMarkdownToken>
    Implements
    IMarkdownRewriteEngine.GetParents()

    GetVariable(String)

    Declaration
    public virtual object GetVariable(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Object
    Implements
    IMarkdownRewriteEngine.GetVariable(String)

    HasPostProcess(String)

    Declaration
    public virtual bool HasPostProcess(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Boolean
    Implements
    IMarkdownRewriteEngine.HasPostProcess(String)

    HasVariable(String)

    Declaration
    public virtual bool HasVariable(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    Boolean
    Implements
    IMarkdownRewriteEngine.HasVariable(String)

    Initialize()

    Declaration
    public void Initialize()
    Implements
    IMarkdownRewriteEngine.Initialize()

    RemovePostProcess(String)

    Declaration
    public virtual void RemovePostProcess(string name)
    Parameters
    Type Name Description
    String name
    Implements
    IMarkdownRewriteEngine.RemovePostProcess(String)

    RemoveVariable(String)

    Declaration
    public virtual void RemoveVariable(string name)
    Parameters
    Type Name Description
    String name
    Implements
    IMarkdownRewriteEngine.RemoveVariable(String)

    Rewrite(ImmutableArray<IMarkdownToken>)

    Declaration
    public virtual ImmutableArray<IMarkdownToken> Rewrite(ImmutableArray<IMarkdownToken> tokens)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableArray<IMarkdownToken> tokens
    Returns
    Type Description
    System.Collections.Immutable.ImmutableArray<IMarkdownToken>
    Implements
    IMarkdownRewriteEngine.Rewrite(ImmutableArray<IMarkdownToken>)

    SetPostProcess(String, Action<IMarkdownRewriteEngine>)

    Declaration
    public virtual void SetPostProcess(string name, Action<IMarkdownRewriteEngine> action)
    Parameters
    Type Name Description
    String name
    Action<IMarkdownRewriteEngine> action
    Implements
    IMarkdownRewriteEngine.SetPostProcess(String, Action<IMarkdownRewriteEngine>)

    SetVariable(String, Object)

    Declaration
    public virtual void SetVariable(string name, object value)
    Parameters
    Type Name Description
    String name
    Object value
    Implements
    IMarkdownRewriteEngine.SetVariable(String, Object)

    Extension Methods

    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX