Example #1
0
 /// <inheritdoc/>
 public IRuleBuilder <TContext, TSubject> DoNotRunIfHasRuleViolation()
 {
     _rule.AddShouldRunClause(ctx => ctx.RuleViolationReporter.Count() == 0);
     return(this);
 }