示例#1
0
 public void AddErrorKeys(ICollection <string> errors)
 {
     if (null == Errors)
     {
         Errors = new ErrorResponseBodyHolder(errors);
     }
     else
     {
         Errors.AddErrorKeys(errors);
     }
 }
示例#2
0
 public void AddErrorKey(string error)
 {
     if (null == Errors)
     {
         Errors = new ErrorResponseBodyHolder(error);
     }
     else
     {
         Errors.AddErrorKey(error);
     }
 }
示例#3
0
 public ErrorResponseHolder(ICollection <string> errors, String trace)
 {
     Errors = new ErrorResponseBodyHolder(errors);
     Trace  = trace;
 }
示例#4
0
 public ErrorResponseHolder(string error, String trace)
 {
     Errors = new ErrorResponseBodyHolder(error);
     Trace  = trace;
 }