public void Complete() { target1.Complete(); target2.Complete(); MakeBatch(batchCount); outgoing.Complete(); }
public void Complete() { target1.Complete(); target2.Complete(); target3.Complete(); outgoing.Complete(); }
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); }
public void Complete() { messageBox.Complete(); outgoing.Complete(); }
public void Complete() { messageBox.Complete(); TriggerBatch(); outgoing.Complete(); }