INotifyPropertyChanged, The .NET 4.5 Way – Revisited

added by CodeM0nkey
4/2/2012 12:35:07 PM


In what is what is becoming a never ending topic on my blog, I have stumbled across yet another interesting implementation of INotifyPropertyChanged. This implementation comes to us via the C# / XAML Windows 8 Metro application project templates in the Visual Studio 11 beta.


4/2/2012 12:35:23 PM
I like that a lot. How do you feel this compares to another popular solution which is to use the INotifyPropertyWeaver project?

4/2/2012 1:06:05 PM
Weird, I submitted a reply, but it never showed up.

Anyway, in regards to IL Weaving. I think its a good approach that has a lot of advantages. It reduces boilerplate code, saves you time, and makes the code easier to maintain.

I've personally been somewhat hesitant about it mostly due to the "magic" involved in IL weaving. This is partly due to working with very large development teams of widely variant skill levels.

I think it's a perfectly valid approach though, and if you like it, use it.