| MacroRuleTree Methods |
The MacroRuleTree type exposes the following members.
| Name | Description | |
|---|---|---|
| Accept |
Accepts an action that gets executed on the whole tree structure.
| |
| AddRule |
Adds a new rule as a child of current node. Inserts the rule to the specified position.
| |
| AutoIndent |
Performs the autoindentation of the expression (according to priority of 'or' and 'and' operators).
| |
| GetCondition |
Returns the condition in K# representing this rule.
| |
| GetParameterText |
Processes the text of parameter (handles multivalue parameters separated with new line).
| |
| GetRoot |
Returns the root of the rule tree.
| |
| GetRuleCondition |
Returns rule as a human readable sentence. If the expression is Rule(...) method than it uses XML for the rule, otherwise returns expression as it is.
| |
| GetRuleText(MacroRuleTree, Boolean, FuncObject, Object) |
Returns rule as a human readable sentence.
| |
| GetRuleText(String, Boolean, Boolean, FuncObject, Object) |
Returns rule as a human readable sentence. If the expression is Rule(...) method than it uses XML for the rule, otherwise returns expression as it is.
| |
| GetXML |
Returns xml of the rule designer (to store the layout and parameters).
| |
| GetXMLInternal |
Returns xml of the rule designer (to store the layout and parameters).
| |
| Indent |
Indents the node with one level.
| |
| LoadFromXml |
Loads MacroRuleTree from xml definition.
| |
| MoveNode |
Moves the group to given location.
| |
| RemoveBrackets |
Removes brackets which are not needed.
| |
| RemoveNode(Int32) |
Adds given group as a new child.
| |
| RemoveNode(Int32, Boolean) |
Adds given group as a new child.
| |
| ResetPositions |
Sets correct positions according to current state.
| |
| SetParameterValue |
Sets the parameter value.
| |
| Unindent |
Unindents the node with one level.
| |
| ValidateParameters |
Returns list of rules which contain required parameters with empty value.
|
| 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.) |