protected override void CopyInternal(Rule r) { base.CopyInternal(r); ValidationStrategy = ((PredefinedValidationRule)r).ValidationStrategy.Copy(); }
internal bool IsRuleSuppressed(Rule rule) { var s = rule.IsRuleSuppressed(_rule); return(s); }
public static Rule WithException <TException>(this Rule rule, string message, BrokenRuleSeverity severity, string owner) where TException : Exception { return(WithException <Rule, TException>(rule, message, severity, owner)); }
public RuleEvaluationContext(Rule rule) { _rule = rule; _prev = Current; Current = this; }