C# Class WikiController, aura

Inheritance: Controller
ファイルを表示 Open project: aura-project/aura Class Usage Examples

Public Methods

Method Description
Handle ( HttpRequestEventArgs, args, string requestedPath, string localPath ) : void

Private Methods

Method Description
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.

Method Details

Handle() public method

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