CaseValueItem
Overview
The CaseValueItem class is an element in a case expression. It consists of the possible values this element should trigger on, and the expression that should be triggered if the case condition matches those values. Note that the expression "1 .. 10" can be expressed as a new RangeValue(new DataValue(1), new DataValue(10)).
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Values
Properties
Cases
Case condition
property Cases: List<Value> read;
List<Value> Cases { get; }
var Cases: List<Value> { get{} }
List<Value> Cases { __get; }
ReadOnly Property Cases() As List<Value>
Result
Result value if one of the cases matches the case condition
property Result: Value read write;
Value Result { get; set; }
var Result: Value { get{} set{} }
Value Result { __get; __set; }
Property Result() As Value
Instance Methods
constructor
Empty constructor
constructor
CaseValueItem()
init()
CaseValueItem()
Sub New()
Constructor with a single case element
Parameters:
- aCase: Case value
- aResult: Value returned for this case
Constructor with multiple case values
Parameters:
- aCases: Case values
- aResult: Value returned for this case