Click or drag to resize

ValidatorIsValidAsync Method

Determines that the new value is valid.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
protected abstract Task<bool> IsValidAsync(
	StateTransition transition,
	Object oldValue,
	Object newValue
)

Parameters

transition
Type: Xploration.ValidationStateTransition
The transition between the old and new value.
oldValue
Type: SystemObject
The previous value of the entity.
newValue
Type: SystemObject
The current value of the entity.

Return Value

Type: TaskBoolean
Returns true if the new values is valid; otherwise false.
See Also