Click or drag to resize

CollectionValidatorTValidateAsync Method (ValidationContext)

Validates the context asynchronously and determines if the collection is valid.

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

Parameters

context
Type: Xploration.ValidationValidationContext
The context to validate.

Return Value

Type: TaskBoolean
True if the collection is valid; otherwise false.

Implements

IValidatorValidateAsync(ValidationContext)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the given value for the context parameter is null.
Remarks
See Also