support for private sets

Apr 21, 2009 at 11:44 AM
Edited Apr 21, 2009 at 12:25 PM

Hi, sometimes I need a property coded like this:

public string SomethingUserCannotUpdate


 get {return someValue;}

 private set { someValue = value;  // add notification code;  } 

So I'd like ViewModelTool to generate notification code for this kind of properties.

Apr 21, 2009 at 7:13 PM
I think it makes perfect sense if a property has a public getter, that it can raise the associated changed event, even if you have no setter at all (i.e. a calculated property).

Thanks for the feedback!