C# Class BaconBuilder.Model.Parser

Parent class used for parsers of text to html and vice versa.
Afficher le fichier Open project: Revelations/BaconApp Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

InitialiseDictionary() protected méthode

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
Résultat void

Parse() public méthode

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.
Résultat string

Parser() public méthode

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