RX and INotifyPropertyChanged

by Matthew Adams

Richard Szalay has a great blog post which allows you to use the Reactive Extensions IObservable pattern to subscribe to INotifyPropertyChanged implementers.

However, the syntax is still a little bit clumsy.

By adding a few extra helpers to the class we can go from this:

To this

Here’s my slightly modified code.

Why should you layer your APIs like this? Read on here…

Matthew Adams on Twitter

Sign up for more insight from endjin

Join 26,505 other people on Azure, Startups, Innovation, Microsoft
(and no more than once a week, we promise!)


Subscribe!