Пример #1
0
 public ApiException(ApiCodeEnum code, string message, System.Exception innerException) : base(message, innerException)
 {
 }
Пример #2
0
 public ApiException(ApiCodeEnum code, string message) : base(message)
 {
 }
Пример #3
0
 public ApiResult(ApiCodeEnum code, string msg)
 {
     Code = (int)code;
     Msg  = msg;
 }
Пример #4
0
 public ApiResult(ApiCodeEnum code, string msg, object data = default)
 {
     Code = (int)code;
     Msg  = msg;
     Data = data;
 }
Пример #5
0
 public ApiResult(ApiCodeEnum code)
 {
     Code = (int)code;
 }