示例#1
0
 public AjaxResponse(AjaxStatus stat, List<FormValidators.FormValidatorError> errors)
     : this(stat, "")
 {
     if (stat == AjaxStatus.invalidData)
         this.errors = errors;
 }
示例#2
0
 public AjaxResponse(AjaxStatus stat)
     : this(stat, "")
 {
 }
示例#3
0
 public AjaxResponse(AjaxStatus stat, string msg)
 {
     this.msg = msg;
     this.stat = stat;
 }
示例#4
0
 public AjaxResult(AjaxStatus status, string msg)
 {
     this.Message = msg;
     this.Status = status;
 }
示例#5
0
 public AjaxResult(AjaxStatus status, string message)
 {
     Message = message;
     _status = status;
     Data = new Dictionary<string, object>();
 }
示例#6
0
 public AjaxResult(AjaxStatus status, string message)
 {
     Message = message;
     _status = status;
 }