Method ReportErrorBadNumber
ReportErrorBadNumber(Action<string>?)
Reports an error if DataType is a number type and
TextAsNumber is null
.
public virtual bool ReportErrorBadNumber(Action<string>? errorEnumerator = null)
Parameters
Returns
- bool
true
if validation error was reported;false
if validation is ok and error was not reported.
Remarks
ReportValidatorError(bool, string?, Action<string>?) is used to report the error.