OnPropertyChanged for multiple but not all Properties

OnPropertyChanged for multiple but not all Properties

Old forum URL: forums.lhotka.net/forums/t/7281.aspx


Jack posted on Wednesday, July 15, 2009

Is there are reason OnPropertyChanged couldn't be extended to take a set of strings in lieu of just a single?  It would be nice to do OnPropertyChanged("abc","def","ghi");

If I have overlooked the obvious I apologize.

Thanks

xAvailx replied on Wednesday, July 15, 2009

I am sure it could...and with .Net 3.5 it should be pretty easy to extend without having to modify the src.

http://weblogs.asp.net/scottgu/archive/2007/03/13/new-orcas-language-feature-extension-methods.aspx

Copyright (c) Marimer LLC