C# Class Microsoft.SourceBrowser.HtmlGenerator.Markup

Afficher le fichier Open project: KirillOsenkov/SourceBrowser Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static A ( string url, string displayText, string target = "" ) : string
url string
displayText string
target string
Résultat string

EscapeSemicolons() public static méthode

public static EscapeSemicolons ( string text ) : string
text string
Résultat string

FormatLineLink() public static méthode

public static FormatLineLink ( string documentUrl, int i ) : string
documentUrl string
i int
Résultat string

GeneratePartialTypeDisambiguationFile() public static méthode

public static GeneratePartialTypeDisambiguationFile ( string solutionDestinationFolder, string projectDestinationFolder, string symbolId, IEnumerable filePaths ) : void
solutionDestinationFolder string
projectDestinationFolder string
symbolId string
filePaths IEnumerable
Résultat void

GenerateResultsHtml() public static méthode

public static GenerateResultsHtml ( string solutionDestinationFolder ) : void
solutionDestinationFolder string
Résultat void

GenerateResultsHtmlWithAssemblyList() public static méthode

public static GenerateResultsHtmlWithAssemblyList ( string solutionDestinationFolder, IEnumerable assemblyList ) : void
solutionDestinationFolder string
assemblyList IEnumerable
Résultat void

GetDocumentPrefix() public static méthode

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

GetDocumentSuffix() public static méthode

public static GetDocumentSuffix ( ) : string
Résultat string

GetProjectExplorerReference() public static méthode

public static GetProjectExplorerReference ( string url, string assemblyName ) : string
url string
assemblyName string
Résultat string

GetResultsHtmlPrefix() public static méthode

public static GetResultsHtmlPrefix ( ) : string
Résultat string

GetResultsHtmlSuffix() public static méthode

public static GetResultsHtmlSuffix ( bool emitSolutionBrowserLink ) : string
emitSolutionBrowserLink bool
Résultat string

GetTablePrefix() public static méthode

public static GetTablePrefix ( ) : string
Résultat string

GetTablePrefix() public static méthode

public static GetTablePrefix ( string documentUrl, int pregenerateLineNumbers, string glyphHtml ) : string
documentUrl string
pregenerateLineNumbers int
glyphHtml string
Résultat string

HtmlEscape() public static méthode

public static HtmlEscape ( string text ) : string
text string
Résultat string

HtmlEscape() public static méthode

public static HtmlEscape ( string text, int &start, int &end ) : string
text string
start int
end int
Résultat string

Tag() public static méthode

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

WriteLinkPanel() public static méthode

public static WriteLinkPanel ( Action writeLine ) : void
writeLine Action
Résultat void

WriteMetadataToSourceRedirectPrefix() public static méthode

public static WriteMetadataToSourceRedirectPrefix ( StreamWriter writer ) : void
writer System.IO.StreamWriter
Résultat void

WriteMetadataToSourceRedirectSuffix() public static méthode

public static WriteMetadataToSourceRedirectSuffix ( StreamWriter writer ) : void
writer System.IO.StreamWriter
Résultat void

WriteNamespaceExplorerPrefix() public static méthode

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

WriteNamespaceExplorerSuffix() public static méthode

public static WriteNamespaceExplorerSuffix ( StreamWriter sw ) : void
sw System.IO.StreamWriter
Résultat void

WriteProjectExplorerPrefix() public static méthode

public static WriteProjectExplorerPrefix ( StringBuilder sb, string projectTitle ) : void
sb StringBuilder
projectTitle string
Résultat void

WriteProjectExplorerSuffix() public static méthode

public static WriteProjectExplorerSuffix ( StringBuilder sb ) : void
sb StringBuilder
Résultat void

WriteProjectIndex() public static méthode

public static WriteProjectIndex ( StringBuilder sb, string assemblyName ) : void
sb StringBuilder
assemblyName string
Résultat void

WriteRedirectFile() public static méthode

public static WriteRedirectFile ( string projectFolder ) : void
projectFolder string
Résultat void

WriteReferencesFileHeader() public static méthode

public static WriteReferencesFileHeader ( StreamWriter writer, string title ) : void
writer System.IO.StreamWriter
title string
Résultat void

WriteReferencesNotFoundFile() public static méthode

public static WriteReferencesNotFoundFile ( string folder ) : void
folder string
Résultat void

WriteSolutionExplorerPrefix() public static méthode

public static WriteSolutionExplorerPrefix ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

WriteSolutionExplorerSuffix() public static méthode

public static WriteSolutionExplorerSuffix ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

WriteSymbol() public static méthode

public static WriteSymbol ( DeclaredSymbolInfo symbol, StringBuilder sb ) : void
symbol DeclaredSymbolInfo
sb StringBuilder
Résultat void