Click or drag to resize
StatusPropertyAttribute Constructor (ValidationStatus, String, Object)
Initializes a new instance of the StatusPropertyAttribute class.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public 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