C# Class ExamplesFx.ColorCode.Formatting.HtmlFormatter

Inheritance: IFormatter
Afficher le fichier Open project: MarcosMeli/ExamplesFx

Méthodes publiques

Méthode Description
Write ( string parsedSourceCode, IList scopes, IStyleSheet styleSheet, TextWriter textWriter ) : void
WriteFooter ( IStyleSheet styleSheet, TextWriter textWriter ) : void
WriteHeader ( IStyleSheet styleSheet, TextWriter textWriter ) : void

Private Methods

Méthode Description
BuildSpanForCapturedStyle ( Scope scope, IStyleSheet styleSheet, TextWriter writer ) : void
GetStyleInsertionsForCapturedStyle ( Scope scope, ICollection styleInsertions ) : void
WriteElementEnd ( string elementName, TextWriter writer ) : void
WriteElementStart ( string elementName, Color foreground, Color background, TextWriter writer ) : void
WriteElementStart ( string elementName, TextWriter writer ) : void
WriteHeaderDivEnd ( TextWriter writer ) : void
WriteHeaderDivStart ( IStyleSheet styleSheet, TextWriter writer ) : void
WriteHeaderPreEnd ( TextWriter writer ) : void
WriteHeaderPreStart ( TextWriter writer ) : void

Method Details

Write() public méthode

public Write ( string parsedSourceCode, IList scopes, IStyleSheet styleSheet, TextWriter textWriter ) : void
parsedSourceCode string
scopes IList
styleSheet IStyleSheet
textWriter System.IO.TextWriter
Résultat void

WriteFooter() public méthode

public WriteFooter ( IStyleSheet styleSheet, TextWriter textWriter ) : void
styleSheet IStyleSheet
textWriter System.IO.TextWriter
Résultat void

WriteHeader() public méthode

public WriteHeader ( IStyleSheet styleSheet, TextWriter textWriter ) : void
styleSheet IStyleSheet
textWriter System.IO.TextWriter
Résultat void