Пример #1
0
 public static RuleResult OnSuccess(this RuleResult p, Action <RuleResult> action)
 {
     action.Invoke(p);
     return(p);
 }
Пример #2
0
 public static RuleResult OnFailed(this RuleResult p, Action <RuleResult> action)
 {
     action.Invoke(p);
     return(p);
 }