[]
Performs validation checks on a value.
public abstract EditorValidationFailedReason Validate(object value)
Type | Name | Description |
---|---|---|
object | value | The value to check. |
Type | Description |
---|---|
EditorValidationFailedReason | None if the value is valid; otherwise, value of corresponding reason. |
If the corresponding reason is not specified in the EditorValidationFailedReason enumeration this method should return Custom.