C# Класс BaconBuilder.Model.TextToHtmlParser

Class used to convert a plain text string into html content.
Наследование: Parser
Показать файл Открыть проект

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

Метод Описание
GenerateContent ( string bodyContent ) : string
Parse ( string bodyContent ) : string
TextToHtmlParser ( ) : System.Text

Constructor for this class. Populates the dictionary.

Защищенные методы

Метод Описание
InitialiseDictionary ( ) : void

Populates the dictionary with a set of find/replace key value pairs appropriate for converting plain text content and 'bacon psuedo tags' to html content. Rules are parsed in the order they are added here.

Описание методов

GenerateContent() публичный Метод

public GenerateContent ( string bodyContent ) : string
bodyContent string
Результат string

InitialiseDictionary() защищенный закрытый Метод

Populates the dictionary with a set of find/replace key value pairs appropriate for converting plain text content and 'bacon psuedo tags' to html content. Rules are parsed in the order they are added here.
protected final InitialiseDictionary ( ) : void
Результат void

Parse() публичный Метод

public Parse ( string bodyContent ) : string
bodyContent string
Результат string

TextToHtmlParser() публичный Метод

Constructor for this class. Populates the dictionary.
public TextToHtmlParser ( ) : System.Text
Результат System.Text