Click or drag to resize

ValidatorTValidateAsync Method (T, T)

Validates the given new value against the old value asynchronously and determines if the new value is valid.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public Task<bool> ValidateAsync(
	T oldValue,
	T newValue
)

Parameters

oldValue
Type: T
The old value.
newValue
Type: T
The new value to validate.

Return Value

Type: TaskBoolean
True if the given new value is valid, otherwise false.
See Also