C# 클래스 Jad_Bot.Utilities.SyntaxHighlighter

A basic implementation of a pretty-printer or syntax highlighter for C# soure code.
파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot 1 사용 예제들

공개 메소드들

메소드 설명
Highlight ( string source ) : string

Highlights the specified source code and returns it as stylised HTML.

SyntaxHighlighter ( ) : System

Initializes a new instance of the SourceColorer class.

보호된 메소드들

메소드 설명
HighlightSource ( string content ) : string

Occurs when the source code is highlighted, after any style (CSS) definitions are added.

메소드 상세

Highlight() 공개 메소드

Highlights the specified source code and returns it as stylised HTML.
public Highlight ( string source ) : string
source string The source code.
리턴 string

HighlightSource() 보호된 메소드

Occurs when the source code is highlighted, after any style (CSS) definitions are added.
protected HighlightSource ( string content ) : string
content string The source code content.
리턴 string

SyntaxHighlighter() 공개 메소드

Initializes a new instance of the SourceColorer class.
public SyntaxHighlighter ( ) : System
리턴 System