C# 클래스 WikiController, aura

상속: Controller
파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
Handle ( HttpRequestEventArgs, args, string requestedPath, string localPath ) : void

비공개 메소드들

메소드 설명
GenerateTableOfContents ( string &html ) : string

Modifies given HTML code to include anchors for all headers and returns a table of contents for them.

GetPageContents ( HttpServer, server, string filePath ) : string

Returns the contents for the page at filePath, rendered with CommonMark and with a TOC if applicable.

GetPageName ( string queryString ) : string

Returns page name, based on query string.

GetPages ( HttpServer, server ) : Page>.Dictionary

Returns a list of pages, the key being the title of the page.

ToAnchorName ( string title ) : string

Replaces non-word characters with underscores.

메소드 상세

Handle() 공개 메소드

public Handle ( HttpRequestEventArgs, args, string requestedPath, string localPath ) : void
args HttpRequestEventArgs,
requestedPath string
localPath string
리턴 void