Example #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));
 }
Example #2
0
 protected ActionBlock <IPipelineJobElement <Tin> > ActionBlock <Tin>(Action <Tjob, Tin> action, bool isLastStep = false, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.ActionBlock(action, isLastStep, options));
 }
Example #3
0
 protected TransformBlock <IPipelineJobElement <Tin>, IPipelineJobElement <Tout> > TransformBlock <Tin, Tout>(Func <Tjob, Tin, Tout> action, ExecutionDataflowBlockOptions options = null)
 {
     return(PipelineBlockFactory.TransformBlock(action, options));
 }
Example #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));
 }
Example #5
0
 protected TransformManyBlock <Tjob, IPipelineJobElement <T> > StartBlock <T>()
 {
     return(PipelineBlockFactory.StartBlock <Tjob, T>());
 }