INotifyPropertyChanged, The .NET 4.5 Way

added by CodeM0nkey
3/1/2012 11:18:29 PM

8 Kicks, 686 Views

Included in the .NET 4.5 Beta comes a handy new feature, the CallerMemberName attribute. It is one of three new Caller Information attributes that have been added in this .NET Framework release. With this new functionality we can code such things a logging & tracing routines and INotifyPropertyChanged implementations without having to use string literals, slow reflection code, complex expression tree logic, or code weaving.


1 comments

dpeterson
3/5/2012 9:10:55 AM
That's very slick. I'm also excited to see the new logging and tracing functionality available now due to this addition.