 | StatusPropertyAttribute Constructor (ValidationStatus, String, Object) |
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic StatusPropertyAttribute(
ValidationStatus badStatusIcon,
string badStatusTooltip,
params Object[] comparisonTuples
)
Parameters
- badStatusIcon
- Type: CandlelightValidationStatus
The icon to use if the decorated field's status is bad. - badStatusTooltip
- Type: SystemString
The tooltip to use if the decorated field's status is bad. - comparisonTuples
- Type: SystemObject
An even-length array of alternating Int32/Object pairs
corresponding to bad comparison results and test values. In each case, the integer must be in the range
[-1, 1] and indicates a failed result of CompareTo(Object) when comparing
the field's value to the corresponding test value. For example -1 means the field is bad when its value is
less than the test value.
See Also