NotRule constructor
NotRule(
- IValidationRule? rule
Creates a new validation rule and sets its values
rule
a rule to be negated.
Implementation
NotRule(IValidationRule? rule) : _rule = rule;
Creates a new validation rule and sets its values
rule
a rule to be negated.NotRule(IValidationRule? rule) : _rule = rule;