C# Class Microsoft.SourceBrowser.HtmlGenerator.Markup

Mostrar archivo Open project: KirillOsenkov/SourceBrowser Class Usage Examples

Public Methods

Method Description
A ( string url, string displayText, string target = "" ) : string
EscapeSemicolons ( string text ) : string
FormatLineLink ( string documentUrl, int i ) : string
GeneratePartialTypeDisambiguationFile ( string solutionDestinationFolder, string projectDestinationFolder, string symbolId, IEnumerable filePaths ) : void
GenerateResultsHtml ( string solutionDestinationFolder ) : void
GenerateResultsHtmlWithAssemblyList ( string solutionDestinationFolder, IEnumerable assemblyList ) : void
GetDocumentPrefix ( string title, string relativePathToRoot, int lineCount, string customJSOnloadFunction = "i" ) : string
GetDocumentSuffix ( ) : string
GetProjectExplorerReference ( string url, string assemblyName ) : string
GetResultsHtmlPrefix ( ) : string
GetResultsHtmlSuffix ( bool emitSolutionBrowserLink ) : string
GetTablePrefix ( ) : string
GetTablePrefix ( string documentUrl, int pregenerateLineNumbers, string glyphHtml ) : string
HtmlEscape ( string text ) : string
HtmlEscape ( string text, int &start, int &end ) : string
Tag ( string tag, string content, string>.IEnumerable attributes = null ) : string
WriteLinkPanel ( Action writeLine ) : void
WriteMetadataToSourceRedirectPrefix ( StreamWriter writer ) : void
WriteMetadataToSourceRedirectSuffix ( StreamWriter writer ) : void
WriteNamespaceExplorerPrefix ( string assemblyName, StreamWriter sw, string pathPrefix = "" ) : void
WriteNamespaceExplorerSuffix ( StreamWriter sw ) : void
WriteProjectExplorerPrefix ( StringBuilder sb, string projectTitle ) : void
WriteProjectExplorerSuffix ( StringBuilder sb ) : void
WriteProjectIndex ( StringBuilder sb, string assemblyName ) : void
WriteRedirectFile ( string projectFolder ) : void
WriteReferencesFileHeader ( StreamWriter writer, string title ) : void
WriteReferencesNotFoundFile ( string folder ) : void
WriteSolutionExplorerPrefix ( TextWriter writer ) : void
WriteSolutionExplorerSuffix ( TextWriter writer ) : void
WriteSymbol ( DeclaredSymbolInfo symbol, StringBuilder sb ) : void

Private Methods

Method Description
GenerateLineNumberText ( int lineNumbers, string documentUrl ) : string
GetGlyph ( DeclaredSymbolInfo symbol ) : string
IntersperseLineBreaks ( string text ) : string
Offset ( int &position, int barrier, int offset ) : void

Method Details

A() public static method

public static A ( string url, string displayText, string target = "" ) : string
url string
displayText string
target string
return string

EscapeSemicolons() public static method

public static EscapeSemicolons ( string text ) : string
text string
return string

FormatLineLink() public static method

public static FormatLineLink ( string documentUrl, int i ) : string
documentUrl string
i int
return string

GeneratePartialTypeDisambiguationFile() public static method

public static GeneratePartialTypeDisambiguationFile ( string solutionDestinationFolder, string projectDestinationFolder, string symbolId, IEnumerable filePaths ) : void
solutionDestinationFolder string
projectDestinationFolder string
symbolId string
filePaths IEnumerable
return void

GenerateResultsHtml() public static method

public static GenerateResultsHtml ( string solutionDestinationFolder ) : void
solutionDestinationFolder string
return void

GenerateResultsHtmlWithAssemblyList() public static method

public static GenerateResultsHtmlWithAssemblyList ( string solutionDestinationFolder, IEnumerable assemblyList ) : void
solutionDestinationFolder string
assemblyList IEnumerable
return void

GetDocumentPrefix() public static method

public static GetDocumentPrefix ( string title, string relativePathToRoot, int lineCount, string customJSOnloadFunction = "i" ) : string
title string
relativePathToRoot string
lineCount int
customJSOnloadFunction string
return string

GetDocumentSuffix() public static method

public static GetDocumentSuffix ( ) : string
return string

GetProjectExplorerReference() public static method

public static GetProjectExplorerReference ( string url, string assemblyName ) : string
url string
assemblyName string
return string

GetResultsHtmlPrefix() public static method

public static GetResultsHtmlPrefix ( ) : string
return string

GetResultsHtmlSuffix() public static method

public static GetResultsHtmlSuffix ( bool emitSolutionBrowserLink ) : string
emitSolutionBrowserLink bool
return string

GetTablePrefix() public static method

public static GetTablePrefix ( ) : string
return string

GetTablePrefix() public static method

public static GetTablePrefix ( string documentUrl, int pregenerateLineNumbers, string glyphHtml ) : string
documentUrl string
pregenerateLineNumbers int
glyphHtml string
return string

HtmlEscape() public static method

public static HtmlEscape ( string text ) : string
text string
return string

HtmlEscape() public static method

public static HtmlEscape ( string text, int &start, int &end ) : string
text string
start int
end int
return string

Tag() public static method

public static Tag ( string tag, string content, string>.IEnumerable attributes = null ) : string
tag string
content string
attributes string>.IEnumerable
return string

WriteLinkPanel() public static method

public static WriteLinkPanel ( Action writeLine ) : void
writeLine Action
return void

WriteMetadataToSourceRedirectPrefix() public static method

public static WriteMetadataToSourceRedirectPrefix ( StreamWriter writer ) : void
writer System.IO.StreamWriter
return void

WriteMetadataToSourceRedirectSuffix() public static method

public static WriteMetadataToSourceRedirectSuffix ( StreamWriter writer ) : void
writer System.IO.StreamWriter
return void

WriteNamespaceExplorerPrefix() public static method

public static WriteNamespaceExplorerPrefix ( string assemblyName, StreamWriter sw, string pathPrefix = "" ) : void
assemblyName string
sw System.IO.StreamWriter
pathPrefix string
return void

WriteNamespaceExplorerSuffix() public static method

public static WriteNamespaceExplorerSuffix ( StreamWriter sw ) : void
sw System.IO.StreamWriter
return void

WriteProjectExplorerPrefix() public static method

public static WriteProjectExplorerPrefix ( StringBuilder sb, string projectTitle ) : void
sb StringBuilder
projectTitle string
return void

WriteProjectExplorerSuffix() public static method

public static WriteProjectExplorerSuffix ( StringBuilder sb ) : void
sb StringBuilder
return void

WriteProjectIndex() public static method

public static WriteProjectIndex ( StringBuilder sb, string assemblyName ) : void
sb StringBuilder
assemblyName string
return void

WriteRedirectFile() public static method

public static WriteRedirectFile ( string projectFolder ) : void
projectFolder string
return void

WriteReferencesFileHeader() public static method

public static WriteReferencesFileHeader ( StreamWriter writer, string title ) : void
writer System.IO.StreamWriter
title string
return void

WriteReferencesNotFoundFile() public static method

public static WriteReferencesNotFoundFile ( string folder ) : void
folder string
return void

WriteSolutionExplorerPrefix() public static method

public static WriteSolutionExplorerPrefix ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

WriteSolutionExplorerSuffix() public static method

public static WriteSolutionExplorerSuffix ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

WriteSymbol() public static method

public static WriteSymbol ( DeclaredSymbolInfo symbol, StringBuilder sb ) : void
symbol DeclaredSymbolInfo
sb StringBuilder
return void