Class MarkdownRewriteEngine
Inheritance
MarkdownRewriteEngine
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
Properties
Engine
Declaration
public IMarkdownEngine Engine { get; }
Property Value
Implements
Methods
Complete()
Declaration
public virtual void Complete()
Implements
GetParents()
Declaration
public virtual ImmutableArray<IMarkdownToken> GetParents()
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
|
Implements
GetVariable(String)
Declaration
public virtual object GetVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
HasPostProcess(String)
Declaration
public virtual bool HasPostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
HasVariable(String)
Declaration
public virtual bool HasVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
Initialize()
Declaration
Implements
RemovePostProcess(String)
Declaration
public virtual void RemovePostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Implements
RemoveVariable(String)
Declaration
public virtual void RemoveVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Implements
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
SetPostProcess(String, Action<IMarkdownRewriteEngine>)
Declaration
public virtual void SetPostProcess(string name, Action<IMarkdownRewriteEngine> action)
Parameters
Implements
SetVariable(String, Object)
Declaration
public virtual void SetVariable(string name, object value)
Parameters
Implements
Extension Methods