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