Пример #1
0
 public EmbededValidatorRule(FieldSelector selector, string alias, JsonValidator validator)
 {
     Selector = selector;
     Alias = alias;
     this.validator = validator;
 }
Пример #2
0
 public BasicJsonRule(FieldSelector selector, string alias, CapturedConstraint constraint)
 {
     this.Selector = selector;
     this.Alias = alias;
     this.constraint = constraint.Constraint.Optimize();
 }