protected override IKeyedStream <Correlated <TIn>, TSortingKey> CreateOutputStream(DistinctCorrelatedSortedArgs <TIn, TSortingKey> args) { return(base.CreateKeyedStream( args.InputStream.Observable.AggregateGrouped( i => new HashSet <Guid>(), args.InputStream.SortDefinition, (a, i) => { a.UnionWith(i.CorrelationKeys); return a; }, (i, a) => new Correlated <TIn> { Row = i.Row, CorrelationKeys = a }), args.InputStream.SortDefinition)); }
public DistinctCorrelatedSortedStreamNode(string name, DistinctCorrelatedSortedArgs <TIn, TSortingKey> args) : base(name, args) { }