xpaulbettsx/ReactiveUI — pull request #60 by jlaanstra (2012-04-29 22:23:28+00:00)
Title: IsEmpty continued.

I actually like your implementation of IsEmpty better than my previous one. But I made some modifications for myself to it which you might wanna consider for ReactiveUI.

I renamed the Observable to be more consistent with for example CollectionCountChanged and I also added a clr non-observable property IsEmpty since this is useful for binding directly on IsEmpty and is consistent with the fact there is also a Count non-observable property.

I added the DistinctUntilChanged method since you don't want the Observable to fire a value when the Count changes from for example 2 to 3.