Пример #1
0
        public ConfiguredValidationRule <TValidationRule> Require <TValidationRule>()
            where TValidationRule : IValidationRule
        {
            var rule = new ConfiguredValidationRule <TValidationRule>(this);

            _validationRules.Add(rule);
            return(rule);
        }
 internal ConfiguredValidationRuleOptionsBuilder(ConfiguredValidationRule rule)
 {
     _rule = rule;
 }