Class MarkdownBlockContext
Inheritance
MarkdownBlockContext
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public class MarkdownBlockContext : IMarkdownContext
Constructors
MarkdownBlockContext(ImmutableList<IMarkdownRule>, IMarkdownContext)
Declaration
public MarkdownBlockContext(ImmutableList<IMarkdownRule> rules, IMarkdownContext inlineContext)
Parameters
MarkdownBlockContext(ImmutableList<IMarkdownRule>, IMarkdownContext, ImmutableDictionary<String, Object>)
Declaration
protected MarkdownBlockContext(ImmutableList<IMarkdownRule> rules, IMarkdownContext inlineContext, ImmutableDictionary<string, object> variables)
Parameters
Fields
IsBlockQuote
Declaration
public const string IsBlockQuote = "IsBlockQuote"
Field Value
IsTop
Declaration
public const string IsTop = "IsTop"
Field Value
Properties
Rules
Declaration
public ImmutableList<IMarkdownRule> Rules { get; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableList<IMarkdownRule> |
|
Implements
Variables
Declaration
public ImmutableDictionary<string, object> Variables { get; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableDictionary<String, Object> |
|
Implements
Methods
CreateContext(ImmutableDictionary<String, Object>)
Declaration
public virtual IMarkdownContext CreateContext(ImmutableDictionary<string, object> variables)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.ImmutableDictionary<String, Object> |
variables |
|
Returns
Implements
GetInlineContext()
Declaration
public IMarkdownContext GetInlineContext()
Returns
SetRules(ImmutableList<IMarkdownRule>)
Declaration
public virtual IMarkdownContext SetRules(ImmutableList<IMarkdownRule> rules)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.ImmutableList<IMarkdownRule> |
rules |
|
Returns
Extension Methods