C# 클래스 BaconBuilder.Model.Parser

Parent class used for parsers of text to html and vice versa.
파일 보기 프로젝트 열기: Revelations/BaconApp 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( string input ) : string

Replaces each matching regex key in the dictionary with its associated value for a given string.

Parser ( ) : System.Collections.Generic

Constructor for a parser object. Initialises the find / replace dictionary.

보호된 메소드들

메소드 설명
InitialiseDictionary ( ) : void

Does nothing in the parent class. Overridden in child classes to populate the dictionary with a ruleset appropriate to the type of parsing.

메소드 상세

InitialiseDictionary() 보호된 메소드

Does nothing in the parent class. Overridden in child classes to populate the dictionary with a ruleset appropriate to the type of parsing.
protected InitialiseDictionary ( ) : void
리턴 void

Parse() 공개 메소드

Replaces each matching regex key in the dictionary with its associated value for a given string.
public Parse ( string input ) : string
input string String to perform substitutions on.
리턴 string

Parser() 공개 메소드

Constructor for a parser object. Initialises the find / replace dictionary.
public Parser ( ) : System.Collections.Generic
리턴 System.Collections.Generic