hasMaxLength method

PropertyValidator<T, TProperty> hasMaxLength(
  1. int maxLength
)

Implementation

PropertyValidator<T, TProperty> hasMaxLength(int maxLength) {
  return this
      .useValidationRule(new _StringHasMaxLength<TProperty>(maxLength));
}