コード例 #1
0
 public override JsonRuleResult Test(IJsonValidationContext context, JObject entity)
 {
     //TODO: Lazy
     return(Rules.Aggregate(new AndJsonRuleResult(), (result, rule) => result & rule.Test(context, entity)));
 }