Метод | Описание | |
---|---|---|
CodeColorizer ( ) : System |
Initializes a new instance of the CodeColorizer class.
|
|
CodeColorizer ( ILanguageParser languageParser ) : System |
Initializes a new instance of the CodeColorizer class.
|
|
Colorize ( string sourceCode, ILanguage language ) : string |
Colorizes source code using the specified language, the default formatter, and the default style sheet.
|
|
Colorize ( string sourceCode, ILanguage language, IFormatter formatter, IStyleSheet styleSheet, |
Colorizes source code using the specified language, formatter, and style sheet.
|
|
Colorize ( string sourceCode, ILanguage language, |
Colorizes source code using the specified language, the default formatter, and the default style sheet.
|
public CodeColorizer ( ILanguageParser languageParser ) : System | ||
languageParser | ILanguageParser | The language parser that the |
Результат | System |
public Colorize ( string sourceCode, ILanguage language ) : string | ||
sourceCode | string | The source code to colorize. |
language | ILanguage | The language to use to colorize the source code. |
Результат | string |
public Colorize ( string sourceCode, ILanguage language, IFormatter formatter, IStyleSheet styleSheet, |
||
sourceCode | string | The source code to colorize. |
language | ILanguage | The language to use to colorize the source code. |
formatter | IFormatter | The formatter to use to colorize the source code. |
styleSheet | IStyleSheet | The style sheet to use to colorize the source code. |
textWriter | The text writer to which the colorized source code will be written. | |
Результат | void |
public Colorize ( string sourceCode, ILanguage language, |
||
sourceCode | string | The source code to colorize. |
language | ILanguage | The language to use to colorize the source code. |
textWriter | The text writer to which the colorized source code will be written. | |
Результат | void |