/// <summary> /// Creates a new instance of the <see cref="RuleBuilder{T,TProperty}">RuleBuilder</see> class. /// </summary> public RuleBuilder(PropertyRule rule, IValidator <T> parent) { Rule = rule; ParentValidator = parent; }
/// <summary> /// Creates a new instance of the <see cref="RuleBuilder{T,TProperty}">RuleBuilder</see> class. /// </summary> public RuleBuilder(PropertyRule rule) { this.rule = rule; }