Ejemplo n.º 1
0
 internal override void CompleteBufferOnPredecessorCompletion()
 {
     InMemoryTarget.CompleteBufferOnPredecessorCompletion();
     PassingTarget.CompleteBufferOnPredecessorCompletion();
     Task.WaitAll(InMemoryTarget.Completion, PassingTarget.Completion);
     Buffer.Complete();
 }
Ejemplo n.º 2
0
 internal override void FaultBufferOnPredecessorCompletion(Exception e)
 {
     InMemoryTarget.FaultBufferOnPredecessorCompletion(e);
     PassingTarget.FaultBufferOnPredecessorCompletion(e);
     ((IDataflowBlock)Buffer).Fault(e);
 }