我想对更改的属性运行一个方法。我希望我的代码编译成这样的:
public string Property
{
get { return _property; }
set
{
_property= value;
IWantToCallFromHere(); // I want to inject this call
NotifyPropertyChanged();
}
}