Click or drag to resize

ValidatorValidateAsync Method (ValidationContext)

Validates the given ValidationContext asynchronously and determines if the context is valid.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public virtual Task<bool> ValidateAsync(
	ValidationContext context
)

Parameters

context
Type: Xploration.ValidationValidationContext
The context to validate.

Return Value

Type: TaskBoolean
True if the given ValidationContext is valid, otherwise false.

Implements

IValidatorValidateAsync(ValidationContext)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the given value for the context parameter is null.
Remarks
Important note Important
Validation results must be registerd to the given context. See Results and AllResults
See Also