Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 3
0
 public SelectWithIndexStreamNode(string name, SelectWithIndexArgs <TIn, TOut> args) : base(name, args)
 {
 }