コード例 #1
0
 protected RuleDescriptor(RuleScope scope)
 {
     Scope       = scope;
     Constraints = new IRuleConstraint[0];
     Metadata    = new Dictionary <string, object>();
 }
コード例 #2
0
 public InvalidRuleDescriptor(RuleScope scope)
     : base(scope)
 {
     RuleType    = RuleType.String;
     Constraints = new IRuleConstraint[0];
 }