Class MarkdownRewriteEngine
Inheritance
MarkdownRewriteEngine
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public class MarkdownRewriteEngine : IMarkdownRewriteEngine
Constructors
|
Improve this Doc
View Source
MarkdownRewriteEngine(IMarkdownEngine, IMarkdownTokenRewriter)
Declaration
public MarkdownRewriteEngine(IMarkdownEngine engine, IMarkdownTokenRewriter rewriter)
Parameters
Properties
|
Improve this Doc
View Source
Engine
Declaration
public IMarkdownEngine Engine { get; }
Property Value
Implements
Methods
|
Improve this Doc
View Source
Complete()
Declaration
public virtual void Complete()
Implements
|
Improve this Doc
View Source
GetParents()
Declaration
public virtual ImmutableArray<IMarkdownToken> GetParents()
Returns
Type |
Description |
System.Collections.Immutable.ImmutableArray<IMarkdownToken> |
|
Implements
|
Improve this Doc
View Source
GetVariable(String)
Declaration
public virtual object GetVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
|
Improve this Doc
View Source
HasPostProcess(String)
Declaration
public virtual bool HasPostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
|
Improve this Doc
View Source
HasVariable(String)
Declaration
public virtual bool HasVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements
|
Improve this Doc
View Source
Initialize()
Declaration
Implements
|
Improve this Doc
View Source
RemovePostProcess(String)
Declaration
public virtual void RemovePostProcess(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Implements
|
Improve this Doc
View Source
RemoveVariable(String)
Declaration
public virtual void RemoveVariable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Implements
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
SetPostProcess(String, Action<IMarkdownRewriteEngine>)
Declaration
public virtual void SetPostProcess(string name, Action<IMarkdownRewriteEngine> action)
Parameters
Implements
|
Improve this Doc
View Source
SetVariable(String, Object)
Declaration
public virtual void SetVariable(string name, object value)
Parameters
Implements
Extension Methods