示例#1
0
 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");
     }
 }
示例#2
0
        protected override IStream <TOut> CreateOutputStream(ReKey2Args <TIn, TRow, TOut> args)
        {
            var observableOut = args.InputStream.Observable.ToList().MultiMap <List <TIn>, TOut>(ProcessList);

            return(CreateUnsortedStream(observableOut));
        }