FabricationServiceButton.IsValidConditionIndex
Method
Description:
Validates if the given condition index is valid or not.
Validates if the given condition index is valid or not.
Parameters
Parameter | Type | Description |
---|---|---|
button | FabricationServiceButton | The button to check. |
condition | Int32 | The condition index. |
Return Value
Type | Description |
---|---|
Boolean | True if larger or equal to 0 and less than ConditionCount. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |