public ReKey2StreamNode(string name, ReKey2Args <TIn, TRow, TOut> args) : base(name, args) { if (args.GetKeys.GetPropertyInfos().Count != 2) { throw new ArgumentException($"{name}: The rekey accepts only 2 keys"); } }
protected override IStream <TOut> CreateOutputStream(ReKey2Args <TIn, TRow, TOut> args) { var observableOut = args.InputStream.Observable.ToList().MultiMap <List <TIn>, TOut>(ProcessList); return(CreateUnsortedStream(observableOut)); }