Scope Object Model Design
Copy
The Scope object contains Variables with a list of values that can be assigned to the variable and rules that define relationships between assigned variables.
The following diagram illustrates the structure of the Scope Object Model:
Figure 1.
- Scope is a class that contains two lists: a list of Variables and a list of Rules.
- Variable class is intended to store the variable definition.
- Named constant is intended to store the value definition. It contains the property name, value, and valuetype.
- Enum is the container for the list of Named constants.
- Rule is a container for an expression. The Rule has both a name and definition where the definition type is ExpressionBase.
- ExpressionBase is an object representation of a Boolean expression.