有没有办法使用PostSharp来改变这种代码:
private _property;
public Object Property
{
get { return _property; }
set
{
if (_property != value)
{
_property = value;
PropertyChanged("Property");
}
}
}
成像:
[NotifyChanged]
public Object Property { get; set; }
答案 0 :(得分:2)