Click or drag to resize

ValidatorCreateResult Method

Creates a new validation result.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
protected virtual ValidationResult CreateResult(
	ValidationContext context,
	bool valid
)

Parameters

context
Type: Xploration.ValidationValidationContext
The context of the validation result.
valid
Type: SystemBoolean
True if validation succeeded; otherwise false.

Return Value

Type: ValidationResult
A new validation result.
See Also