MacroProcessor Methods |
The MacroProcessor type exposes the following members.
Name | Description | |
---|---|---|
BuildMacroParameter(MacroIdentityOption) |
Builds macro parameter from identity option.
| |
BuildMacroParameter(String, String) |
Builds the macro parameter.
| |
ContainsMacro |
Returns true if the specified text contains macro.
| |
DecodeMacros |
HTML decodes macro definitions for given text.
| |
EncodeMacro |
Encodes macro to prevent its resolving.
| |
EscapeParameterValue |
Escapes the parameter value (ensures nested macros within the parameter values are escaped).
| |
GetMacros |
Gets the list of macros in the given text.
| |
IsLocalizationMacro |
Returns true if given text is in {$xxx$} format.
Note that this method returns true only if the whole text is localization macro, it is NOT a contains method.
| |
ProcessDataMacros |
Replaces data macros with given replacement or resolves them if replacement is null.
| |
ProcessMacros |
Replaces macros with given replacement or resolves them if replacement is null.
| |
RemoveDataMacroBrackets |
Removes data macro brackets {% %} from given text.
| |
RemoveLocalizationMacroBrackets |
Removes localization macro brackets {$ $} from given text.
| |
RemoveMacroBrackets |
Removes all types macro brackets from given text.
| |
RemoveMacros |
Removes macros from input text. Macros are replaced by specified replacement.
| |
RemoveParameter(String, String) |
Removes parameter with given name from macro expression (expression should be without brackets {%%}).
| |
RemoveParameter(String, String, String) |
Removes parameter with given name from macro expression (expression should be without brackets {%%}).
| |
RemoveQueryMacroBrackets |
Removes query macro brackets {? ?} from given text.
| |
UnescapeParameterValue |
Un escapes the parameter value.
|