Exemple #1
0
 protected override IKeyedStream <TIn, TSortingKey> CreateOutputStream(SmartDistinctSortedArgs <TIn, TSortingKey> args)
 {
     return(base.CreateKeyedStream(
                args.InputStream.Observable.AggregateGrouped(
                    i => i,
                    args.InputStream.SortDefinition.GetKey,
                    (aggr, input) => ObjectMerger.MergeNotNull(aggr, input),
                    (input, key, aggr) => aggr
                    ),
                args.InputStream.SortDefinition
                ));
 }
Exemple #2
0
 public SmartDistinctSortedStreamNode(string name, SmartDistinctSortedArgs <TIn, TSortingKey> args) : base(name, args)
 {
 }