コード例 #1
0
 public SuccessResponseModel(ResponseMessageModel responseMessageModel, TResponseObj responseObj)
 {
     this.responseMessageModel = responseMessageModel;
     this.responseObj          = responseObj;
 }
コード例 #2
0
 // This constructor  will create a error response with argument message.
 public BaseResponseModel(String message)
 {
     responseMessageModel = new ResponseMessageModel(false, message, ResponseMessageType.Error);
 }
コード例 #3
0
 public SuccessResponseModel(TResponseObj responseObj)
 {
     this.responseObj     = responseObj;
     responseMessageModel = new ResponseMessageModel();
 }
コード例 #4
0
 // This constructor  will create a error response.
 public BaseResponseModel()
 {
     responseMessageModel = new ResponseMessageModel(false, ReadOnlyValues.ErrorMessage, ResponseMessageType.Error);
 }