Exemple #1
0
 /// <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;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="RuleBuilder{T,TProperty}">RuleBuilder</see> class.
 /// </summary>
 public RuleBuilder(PropertyRule rule)
 {
     this.rule = rule;
 }