예제 #1
0
 protected ActionBlock <IEnumerable <IPipelineJobElement <Tin> > > MergeActionBlock <Tin>(Func <Tjob, IEnumerable <Tin>, Task> action, bool isLastStep = false, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.MergeActionBlock(action, isLastStep, options));
 }
예제 #2
0
 protected ActionBlock <IPipelineJobElement <Tin> > ActionBlock <Tin>(Action <Tjob, Tin> action, bool isLastStep = false, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.ActionBlock(action, isLastStep, options));
 }
예제 #3
0
 protected TransformBlock <IPipelineJobElement <Tin>, IPipelineJobElement <Tout> > TransformBlock <Tin, Tout>(Func <Tjob, Tin, Tout> action, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.TransformBlock(action, options));
 }
예제 #4
0
 protected TransformBlock <IEnumerable <IPipelineJobElement <Tin> >, IPipelineJobElement <Tout> > MergeTransformBlock <Tin, Tout>(Func <Tjob, IEnumerable <Tin>, Task <Tout> > action, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.MergeTransformBlock(action, options));
 }
예제 #5
0
 protected TransformManyBlock <Tjob, IPipelineJobElement <T> > StartBlock <T>()
 {
     return(PipelineBlockFactory.StartBlock <Tjob, T>());
 }