C# Класс WikiController, aura

Наследование: Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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