Example #1
0
 internal Task SendResponseAsync(OutputInfoResponse response, CancellationToken cancellationToken = default)
 {
     return(this.SendResponseAsync(response,
                                   () =>
     {
         return this.Dialog.SendResponseAsync(response, cancellationToken);
     }));
 }
Example #2
0
 internal void SendResponse(OutputInfoResponse response)
 {
     this.SendResponse(response,
                       () =>
     {
         this.Dialog.SendResponse(response);
     });
 }
Example #3
0
        public IOutputInfoFinishedProcessState StartProcess(OutputInfoRequestTask task, bool?includeTaskDetails)
        {
            OutputInfoRequest request = this.CreateRequest(task, includeTaskDetails);

            OutputInfoResponse response = this.SendRequest(request,
                                                           () =>
            {
                return(this.Dialog.SendRequest(request));
            });

            return(new StockLocationInfoFinishedProcessState(request, response));
        }
Example #4
0
        public async Task <IOutputInfoFinishedProcessState> StartProcessAsync(OutputInfoRequestTask task,
                                                                              bool?includeTaskDetails,
                                                                              CancellationToken cancellationToken = default)
        {
            OutputInfoRequest request = this.CreateRequest(task, includeTaskDetails);

            OutputInfoResponse response = await this.SendRequestAsync(request,
                                                                      () =>
            {
                return(this.Dialog.SendRequestAsync(request, cancellationToken));
            }).ConfigureAwait(continueOnCapturedContext: false);

            return(new StockLocationInfoFinishedProcessState(request, response));
        }
 public StockLocationInfoFinishedProcessState(OutputInfoRequest request,
                                              OutputInfoResponse response)
 {
     this.Request  = request;
     this.Response = response;
 }
Example #6
0
 public Task SendResponseAsync(OutputInfoResponse response, CancellationToken cancellationToken = default)
 {
     return(base.SendResponseAsync(response, cancellationToken));
 }
Example #7
0
 public void SendResponse(OutputInfoResponse response)
 {
     base.SendResponse(response);
 }