コード例 #1
0
        protected virtual async Task <IActionResult> Execute(TInput input)
        {
            NoPipeAttachedException.Check(this.Child);
            var result = await this.MapAsync(input);

            return(await this.Child.Execute(result));
        }
コード例 #2
0
        async Task <IActionResult> IInputPipe <TInput> .Execute(TInput input)
        {
            var result = await this.ExecuteAsync(input);

            if (result != null)
            {
                return(result);
            }

            NoPipeAttachedException.Check(this.Child);
            return(await this.Child.Execute(input));
        }
コード例 #3
0
 protected override async Task <IActionResult> Execute()
 {
     NoPipeAttachedException.Check(this.Child);
     return(await this.Child.Execute(await this.GetOutput()));
 }