composeAll method

RuleFor<T> composeAll(
  1. Iterable<FormFieldValidator<T>> validators
)

Adds multiple validators to this rule chain.

After adding, the composed validator is (re)applied to the target control.

Implementation

RuleFor<T> composeAll(Iterable<FormFieldValidator<T>> validators) {
  _validators.addAll(validators);
  _applyValidator();
  return this;
}