C# 클래스 BaconBuilder.Model.TextToHtmlParser

Class used to convert a plain text string into html content.
상속: Parser
파일 보기 프로젝트 열기: Revelations/BaconApp

공개 메소드들

메소드 설명
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