protected virtual async Task <IActionResult> Execute(TInput input) { NoPipeAttachedException.Check(this.Child); var result = await this.MapAsync(input); return(await this.Child.Execute(result)); }
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)); }
protected override async Task <IActionResult> Execute() { NoPipeAttachedException.Check(this.Child); return(await this.Child.Execute(await this.GetOutput())); }