I suppose something is missing here, but I just read this jesse liberty article on Reactive Extensions for. Net . His example is for Window Phone 7 using Silverlight, but Silverlight also has an ObservableCollection data type. So I'm trying to understand what the difference is ... maybe Rx is more powerful?
Is it possible to compare and contrast them? When will I use one over the other?
thank
ObservableCollection RX - .
.
ObservableCollection - UI- , INotifyCollectionChanged.
Reactive Extensions - , IObservable IObserver, (, ).
, , Silverlight, Rx.NET:
https://github.com/xpaulbettsx/ReactiveUI/blob/master/ReactiveUI/ReactiveCollection.cs
:
myReactiveCollection.ItemsAdded .Subscribe(x => Console.WriteLine("{0} was added", x));
ReactiveUI, MV-VM, Rx.NET( : )