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