Class MarkdownParsingContext
Inheritance
MarkdownParsingContext
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public class MarkdownParsingContext : IMarkdownParsingContext
Constructors
MarkdownParsingContext(SourceInfo)
Declaration
public MarkdownParsingContext(SourceInfo sourceInfo)
Parameters
Properties
CurrentMarkdown
Declaration
public string CurrentMarkdown { get; }
Property Value
Implements
File
Declaration
public string File { get; }
Property Value
Implements
IsInParagraph
Declaration
public bool IsInParagraph { get; set; }
Property Value
Implements
LineNumber
Declaration
public int LineNumber { get; }
Property Value
Implements
Markdown
Declaration
public string Markdown { get; }
Property Value
Implements
Methods
Consume(Int32)
Declaration
public SourceInfo Consume(int charCount)
Parameters
Type |
Name |
Description |
Int32 |
charCount |
|
Returns
Implements
Match(Matcher)
Declaration
public MatchResult Match(Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns
Implements
ToSourceInfo()
Declaration
public SourceInfo ToSourceInfo()
Returns
Extension Methods