-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Join() support #7
Comments
Believe so! Thanks!
|
Hi again :) I'm currently in the phase of making the unit-tests pass. Occasionally it requires me to fix minor issues in the code other than mine. So, here are some questions regarding that, one at a time.
group = groups[key] = new Grouping<TKey, TElement>(key);
NotifyCollectionChangedUtil.RaiseAddEvent<TElement>(RaiseCollectionChanged, group); But, the way how the event is raised makes it effectively useless. raise(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, newItems.ToList())); Obviously, after |
NotifyCollectionChangedEventArgs (from System.Collection.Specialized) only It might make sense to implement IList on Grouping. That would allow you to On Tue, Aug 19, 2014 at 8:58 AM, vinesworth [email protected]
|
After a bit of thought, I'd totally support implementing IList on Grouping. |
Hmm. Isn't the grouping supposed to be the new item itself? class GroupByOperation<TElement, TKey>
: EnumerableSourceWithLambdaOperation<TElement, TKey, IEnumerable<IGrouping<TKey, TElement>>>,
IEnumerable<IGrouping<TKey, TElement>>,
INotifyCollectionChanged I'd rather expect |
There are two sets of collections involved: the List and each When a new Grouping is added to the output, subscribers need to know that. When a new item is added to any particular Grouping, subscribers need to |
Right. But there's only one |
Groups are the only thing that are added when you're in the On Wed, Aug 20, 2014 at 5:42 PM, vinesworth [email protected]
|
Hi,
it's been a while and now I'm finally stuck into absense of joins, and going to implement it. After having analysed revision history, it looks like ��it would be sufficient to:
Is it all?
The text was updated successfully, but these errors were encountered: