示例#1
0
        protected override IStream <TOut> CreateOutputStream(SelectWithIndexArgs <TIn, TOut> args)
        {
            IPushObservable <TOut> obs = args.Stream.Observable.Map(WrapSelectIndexForDisposal <TIn, TOut>(args.Processor.ProcessRow));

            if (args.ExcludeNull)
            {
                obs = obs.Filter(i => i != null);
            }
            return(base.CreateUnsortedStream(obs));
        }
示例#2
0
        protected override IStream <TOut> CreateOutputStream(SelectWithIndexArgs <TIn, TOut> args)
        {
            IPushObservable <TOut> obs = args.Stream.Observable.Map(WrapSelectIndexForDisposal <TIn, TOut>(args.Processor.ProcessRow, args.WithNoDispose));

            return(base.CreateUnsortedStream(obs));
        }
示例#3
0
 public SelectWithIndexStreamNode(string name, SelectWithIndexArgs <TIn, TOut> args) : base(name, args)
 {
 }