示例#1
0
        protected override ISingleStream <TOut> CreateOutputStream(SelectSingleWithIndexArgs <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.CreateSingleStream(obs));
        }
示例#2
0
 public SelectSingleWithIndexStreamNode(string name, SelectSingleWithIndexArgs <TIn, TOut> args) : base(name, args)
 {
 }