コード例 #1
0
 public CodeResultModel(bool result,
                        RedirectUrlModel redirectUrlModel, CodeBaseSharedModel codeBaseShared)
 {
     this.Result           = result;
     this.RedirectUrlModel = redirectUrlModel;
     this.CodeBaseShared   = codeBaseShared;
 }
コード例 #2
0
 public EngineResponseModel InitGet(ResultOperation resultOperation, List <MessageModel> listMessageModel,
                                    RedirectUrlModel redirectUrlModel, FormModel formModel = null)
 {
     this.ResultOperation  = resultOperation;
     this.ListMessageModel = listMessageModel;
     this.FormModel        = formModel;
     this.RedirectUrlModel = redirectUrlModel;
     this.IsSubmit         = true;
     return(this);
 }
コード例 #3
0
 public EngineResponseModel InitPost(ResultOperation resultOperation, List <MessageModel> listMessageModel,
                                     RedirectUrlModel redirectUrlModel,
                                     bool isSubmit = true, List <DownloadModel> listDownloadModel = null)
 {
     this.ResultOperation   = resultOperation;
     this.ListMessageModel  = listMessageModel;
     this.FormModel         = null;
     this.RedirectUrlModel  = redirectUrlModel;
     this.IsSubmit          = isSubmit;
     this.ListDownloadModel = listDownloadModel;
     return(this);
 }