protected virtual ValidatorError CreateValidationError(PropertyValidatorContext context)
        {
            var failure = new ValidatorError(context.PropertyName, _errorMessage);

            return(failure);
        }
 //Template method:
 protected abstract bool IsValid(PropertyValidatorContext context);