Exemple #1
0
 public RuleDefinition(KeyValuePair <Type, IsRule> rule)
 {
     Type        = rule.Key.Name;
     Description = ExpressionReader.ConvertExpressionToText(rule.Value.GetExpression());
 }
Exemple #2
0
 public RuleViolationException(IsRule rule)
     : this(ExpressionReader.ConvertExpressionToText(rule.GetExpression()))
 {
 }