| ElementModelUtility Class |
Namespace: FlexRule
public static class ElementModelUtility
The ElementModelUtility type exposes the following members.
| Name | Description | |
|---|---|---|
| GetIndex |
Gets the index of this model on the parent. When parent is null, returns -1
| |
| GetLogic |
When Validation document, it find Logic element of a model. Otherwise null.
| |
| GetRoot |
Find Root element of a model
| |
| GetValueOfAttributeOrVariable |
Find the value from model`s parameters. If that value is a name of variable if the provided container it resolve the result with the container.
| |
| HasChildOf |
Checks if the model has any child name as childCommandName | |
| IndexOf |
Checks if the model has any child name as childCommandName | |
| IsInHierarchy |
Checks if the model happens inside the command name
| |
| SameAs |
Checks if both provided model are the same
| |
| ToXml |
Transform IElementModel to its XML presentation
|