Ejemplo n.º 1
0
 protected override IStream <TIn> CreateOutputStream(SmartDistinctArgs <TIn, TGroupingKey> args)
 {
     return(base.CreateUnsortedStream(args.InputStream.Observable.Aggregate(i => i, args.GetGroupingKey, (aggr, input) => ObjectMerger.MergeNotNull(aggr, input), (input, key, aggr) => aggr)));
 }
Ejemplo n.º 2
0
 public SmartDistinctStreamNode(string name, SmartDistinctArgs <TIn, TGroupingKey> args) : base(name, args)
 {
 }