internal Task SendResponseAsync(OutputInfoResponse response, CancellationToken cancellationToken = default) { return(this.SendResponseAsync(response, () => { return this.Dialog.SendResponseAsync(response, cancellationToken); })); }
internal void SendResponse(OutputInfoResponse response) { this.SendResponse(response, () => { this.Dialog.SendResponse(response); }); }
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)); }
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; }
public Task SendResponseAsync(OutputInfoResponse response, CancellationToken cancellationToken = default) { return(base.SendResponseAsync(response, cancellationToken)); }
public void SendResponse(OutputInfoResponse response) { base.SendResponse(response); }