public ValueMatchValidator(FormComponent component, FormComponent other) : base(component.GetName()) { _component = component; _other = other; }
public CharacterValidator(FormComponent component, string character) : base(component.GetName()) { _character = character.ToLower(); _component = component; }
public MinLengthValidator(FormComponent component, int minLength) : base(component.GetName()) { _minLength = minLength; _component = component; }
public NumberValidator(FormComponent component) : base(component.GetName()) { _component = component; }