C# Class Microsoft.DocAsCode.MarkdownLite.SourceInfo

Mostra file Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
Copy ( string markdown, int lineOffset ) : SourceInfo
Create ( string markdown, string file, int lineNumber = 1 ) : SourceInfo

Private Methods

Method Description
GetValidLineCount ( string markdown ) : int
SourceInfo ( string markdown, string file, int lineNumber, int validLineCount )

Method Details

Copy() public method

public Copy ( string markdown, int lineOffset ) : SourceInfo
markdown string
lineOffset int
return SourceInfo

Create() public static method

public static Create ( string markdown, string file, int lineNumber = 1 ) : SourceInfo
markdown string
file string
lineNumber int
return SourceInfo