コード例 #1
0
 public void Complete()
 {
     target1.Complete();
     target2.Complete();
     MakeBatch(batchCount);
     outgoing.Complete();
 }
コード例 #2
0
 public void Complete()
 {
     target1.Complete();
     target2.Complete();
     target3.Complete();
     outgoing.Complete();
 }
コード例 #3
0
        public TransformBlock(Func <TInput, TOutput> transform,
                              ExecutionDataflowBlockOptions dataflowBlockOptions)
            : this(dataflowBlockOptions)
        {
            if (transform == null)
            {
                throw new ArgumentNullException("transform");
            }

            this.transform  = transform;
            this.messageBox = new ExecutingMessageBox <TInput> (
                this, messageQueue, compHelper,
                () => outgoing.IsCompleted, TransformProcess, () => outgoing.Complete(),
                dataflowBlockOptions);
            this.outgoing = new OutgoingQueue <TOutput> (this, compHelper,
                                                         () => messageQueue.IsCompleted, messageBox.DecreaseCount,
                                                         dataflowBlockOptions);
        }
コード例 #4
0
 public void Complete()
 {
     messageBox.Complete();
     outgoing.Complete();
 }
コード例 #5
0
 public void Complete()
 {
     messageBox.Complete();
     TriggerBatch();
     outgoing.Complete();
 }