Exemple #1
0
 public HandelArrayException(MessageCode messageCode, IEnumerable ages)
 {
     foreach (var item in ages)
     {
         var exception = new HandelException(messageCode, item);
         _handelExceptions.Add(exception);
     }
 }
Exemple #2
0
 /// <summary>
 /// 添加异常
 /// </summary>
 /// <param name="exceptions"></param>
 /// <returns></returns>
 public HandelArrayException Append(HandelException exceptions)
 {
     _handelExceptions.Add(exceptions);
     return(this);
 }