| MacroElement Class |
Namespace: CMS.MacroEngine
public class MacroElement
The MacroElement type exposes the following members.
| Name | Description | |
|---|---|---|
| MacroElement |
Constructor.
|
| Name | Description | |
|---|---|---|
| EscapeSpecialChars |
Escapes special characters in the string to create a string literal.
| |
| IsBoolConst |
Returns true if the given string is a boolean constant "true" or "false".
| |
| IsOperatorChar |
Returns true if the character is operator character.
| |
| IsValidOperator |
Returns true if the operator is valid.
| |
| IsWordOperator |
Returns true if the given string is a word operator.
| |
| ParseExpression(String) |
Parses the expression.
| |
| ParseExpression(String, Boolean) |
Parses the expression.
| |
| ToString |
Returns the expression of the element.
(Overrides ObjectToString.) | |
| UnescapeSpecialChars |
Unescapes special characters in the string constant.
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| Expression |
Element expression (as was parsed).
| |
| StartIndex |
Index of the expression start in the source expression.
| |
| Type |
Element type.
| |
| Value |
Element value (of the element type).
|