Struct SourceInfo
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
Properties
File
Declaration
public string File { get; }
Property Value
LineNumber
Declaration
public int LineNumber { get; }
Property Value
Markdown
Declaration
public string Markdown { get; }
Property Value
ValidLineCount
Declaration
public int ValidLineCount { get; }
Property Value
Methods
Copy(String, Int32)
Declaration
public SourceInfo Copy(string markdown, int lineOffset = 0)
Parameters
Returns
Create(String, String)
Declaration
public static SourceInfo Create(string markdown, string file)
Parameters
Returns
Create(String, String, Int32)
Declaration
public static SourceInfo Create(string markdown, string file, int lineNumber)
Parameters
Returns
Create(String, String, Int32, Int32)
Declaration
public static SourceInfo Create(string markdown, string file, int lineNumber, int lineCount)
Parameters
Returns
Extension Methods