I am working on a project that will use INotifyPropertyChanged to declare property changes for subscriber classes.
void item_PropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == "Quantity") ....
It seems to me that when a signing class receives a notification, the only available value that it can receive is the name of the property. Is there a way to get a reference to an actual object that has a property change? Then I can get the new value of this property from the link. Maybe using reflection?
Could someone write a code snippet to help me? Very much appreciated.
reflection c # inotifypropertychanged
user2210021
source share