コード例 #1
0
 internal Task SendResponseAsync(ArticleMasterSetResponse response, CancellationToken cancellationToken = default)
 {
     return(this.SendResponseAsync(response,
                                   () =>
     {
         return this.Dialog.SendResponseAsync(response, cancellationToken);
     }));
 }
コード例 #2
0
 internal void SendResponse(ArticleMasterSetResponse response)
 {
     this.SendResponse(response,
                       () =>
     {
         this.Dialog.SendResponse(response);
     });
 }
コード例 #3
0
        public async Task <IArticleMasterSetFinishedProcessState> StartProcessAsync(IEnumerable <ArticleMasterSetArticle> articles, CancellationToken cancellationToken = default)
        {
            ArticleMasterSetRequest request = this.CreateRequest(articles);

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

            return(new ArticleMasterSetFinishedProcessState(request, response));
        }
コード例 #4
0
        public IArticleMasterSetFinishedProcessState StartProcess(IEnumerable <ArticleMasterSetArticle> articles)
        {
            ArticleMasterSetRequest request = this.CreateRequest(articles);

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

            return(new ArticleMasterSetFinishedProcessState(request, response));
        }
コード例 #5
0
 public Task SendResponseAsync(ArticleMasterSetResponse response, CancellationToken cancellationToken = default)
 {
     return(base.SendResponseAsync(response, cancellationToken));
 }
コード例 #6
0
 public void SendResponse(ArticleMasterSetResponse response)
 {
     base.SendResponse(response);
 }