Exemple #1
0
 public static void AddError(this List <IActionableErrorInfo> errors, IActionableErrorInfo error)
 {
     if (errors != null && error != null)
     {
         errors.Add(error);
     }
 }
 public static void AddError(this List<IActionableErrorInfo> errors, IActionableErrorInfo error)
 {
     if(errors != null && error != null)
     {
         errors.Add(error);
     }
 }
Exemple #3
0
 internal TestRule(string value, IActionableErrorInfo checkValue)
     : base(() => value)
 {
     CheckValue = checkValue;
 }