示例#1
0
 protected BlockingCollectionTransformQueue(TInputCollection source, WaitHandle isAddingCompletedEvent, TransformTargetQueue <TInputItem, TInputCollection> outputQueue)
     : base(new BlockingCollectionTransformSource <TInputItem, TInputCollection>(source ?? throw new ArgumentNullException("source")), outputQueue)
示例#2
0
 protected ProducerConsumerTransformQueue(TInputCollection source, WaitHandle isAddingCompletedEvent, TransformTargetQueue <TInputItem, TInputCollection> outputQueue)
     : base(ProducerConsumnerTransformSource <TInputItem, TInputCollection> .Create(source, isAddingCompletedEvent), outputQueue)
 {
 }