 | StatusPropertyAttribute Constructor (ValidationStatus, String, Int32, Object) |
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic StatusPropertyAttribute(
ValidationStatus badStatusIcon,
string badStatusTooltip,
int badComparisonResult,
Object testValue
)
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. - badComparisonResult
- Type: SystemInt32
A value in the range [-1, 1] that indicates a failed result of
CompareTo(Object) when comparing the decorated field's value to testValue.
For example -1 means the field is bad when its value is less than testValue.
- testValue
- Type: SystemObject
Test value.
See Also