C# Class Rebel.Cms.Web.Macros.MacroSyntaxParser

Utility class for parsing macro syntax in string content
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Свойство Type Description
AliasMatch System.Text.RegularExpressions.Regex
MacroMatch System.Text.RegularExpressions.Regex
ParamMatch System.Text.RegularExpressions.Regex

Méthodes publiques

Méthode Description
Parse ( string input, string>.Func macroFoundCallback, IEnumerable &results ) : string

Finds a macro placeholder amongst the input content (generally html) and renders the macro content into the output.

Method Details

Parse() public méthode

Finds a macro placeholder amongst the input content (generally html) and renders the macro content into the output.
public Parse ( string input, string>.Func macroFoundCallback, IEnumerable &results ) : string
input string
macroFoundCallback string>.Func Callback that is fired when a macro is found, this callback should return the macro contents based on the callback parameters
results IEnumerable
Résultat string

Property Details

AliasMatch public_oe static_oe property

public static Regex,System.Text.RegularExpressions AliasMatch
Résultat System.Text.RegularExpressions.Regex

MacroMatch public_oe static_oe property

public static Regex,System.Text.RegularExpressions MacroMatch
Résultat System.Text.RegularExpressions.Regex

ParamMatch public_oe static_oe property

public static Regex,System.Text.RegularExpressions ParamMatch
Résultat System.Text.RegularExpressions.Regex