Is there a way to use PostSharp to change this kind of code:
private _property;
public Object Property
{
get { return _property; }
set
{
if (_property != value)
{
_property = value;
PropertyChanged("Property");
}
}
}
into something like:
[NotifyChanged]
public Object Property { get; set; }
?
There are good instructions here:
http://www.postsharp.net/aspects/examples/inotifypropertychanged
This seems to match up with what you're looking for.