Class MarkdownTokenRewriterFactory
Inheritance
MarkdownTokenRewriterFactory
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public static class MarkdownTokenRewriterFactory
Fields
Null
Declaration
public static readonly IMarkdownTokenRewriter Null
Field Value
Methods
Composite(IMarkdownTokenRewriter[])
Declaration
public static IMarkdownTokenRewriter Composite(params IMarkdownTokenRewriter[] rewriters)
Parameters
Returns
Composite(IEnumerable<IMarkdownTokenRewriter>)
Declaration
public static IMarkdownTokenRewriter Composite(IEnumerable<IMarkdownTokenRewriter> rewriters)
Parameters
Returns
FromLambda<TEngine, TToken>(Func<TEngine, TToken, IMarkdownToken>)
Declaration
public static IMarkdownTokenRewriter FromLambda<TEngine, TToken>(Func<TEngine, TToken, IMarkdownToken> rewriteFunc)where TEngine : class, IMarkdownRewriteEngine where TToken : class, IMarkdownToken
Parameters
Returns
Type Parameters
Name |
Description |
TEngine |
|
TToken |
|
FromLambda<TEngine, TToken>(Func<TEngine, TToken, IMarkdownToken>, Action<TEngine>)
Declaration
public static IMarkdownTokenRewriter FromLambda<TEngine, TToken>(Func<TEngine, TToken, IMarkdownToken> rewriteFunc, Action<TEngine> initializer)where TEngine : class, IMarkdownRewriteEngine where TToken : class, IMarkdownToken
Parameters
Returns
Type Parameters
Name |
Description |
TEngine |
|
TToken |
|
FromValidators(IMarkdownTokenValidator[])
Declaration
public static IMarkdownTokenRewriter FromValidators(params IMarkdownTokenValidator[] validators)
Parameters
Returns
FromValidators(IEnumerable<IMarkdownTokenValidator>)
Declaration
public static IMarkdownTokenRewriter FromValidators(IEnumerable<IMarkdownTokenValidator> validators)
Parameters
Returns
FromValidators(String, IEnumerable<IMarkdownTokenValidator>)
Declaration
public static IMarkdownTokenRewriter FromValidators(string scopeName, IEnumerable<IMarkdownTokenValidator> validators)
Parameters
Returns
Loop(IMarkdownTokenRewriter, Int32)
Declaration
public static IMarkdownTokenRewriter Loop(IMarkdownTokenRewriter rewriter, int maxLoopCount)
Parameters
Returns
Sequence(IMarkdownTokenRewriter[])
Declaration
public static IMarkdownTokenRewriter Sequence(params IMarkdownTokenRewriter[] rewriters)
Parameters
Returns