예제 #1
0
 public static IAsyncPipelineComponent <POut, NOut> AddStep <PIn, POut, NOut>(this IAsyncPipelineComponent <PIn, POut> component, Func <POut, IPipelineContext, Task <NOut> > step)
 {
     return(component.AddStep(PipelineComponent.CreateAsyncPipeline(step)));
 }
예제 #2
0
 public static IAsyncPipelineComponent <POut, NOut> AddStep <PIn, POut, NOut>(this IAsyncPipelineComponent <PIn, POut> component, IAsyncPipelineStep <POut, NOut> step)
 {
     return(component.AddStep(PipelineComponent.CreateAsyncPipeline(step)));
 }