示例#1
0
 public PaginatedApiResponse(ApiResponseError error) : base(error)
 {
 }
示例#2
0
 public ApiResponse(ApiResponseError error)
 {
     this.error = error;
 }
示例#3
0
 public ApiResponse()
 {
     this.error = ApiResponseErrorType.OK.CreateResponseError();
 }
示例#4
0
 public ApiResponse(ApiResponseErrorType errorType)
 {
     this.error = errorType.CreateResponseError();
 }
示例#5
0
 public static ApiResponse CreateResponse(this ApiResponseError error) => new ApiResponse(error);