Пример #1
0
        public MergeJoinTarget(ITask parent, ITargetBlock <TInput> target)
        {
            var progressBlock = new TransformBlock <TInput, TInput>(i =>
            {
                LogProgress();
                return(i);
            });

            progressBlockToTargetLink = progressBlock.LinkToWithCompletionPropagation(target);
            TargetBlock = progressBlock;
            CopyTaskProperties(parent);
        }