✅ WPF Store Singleton Action PropertyChanged optimization
Hi!
I have a singleton in my app responsible for weather management
currently each of my properties on the object has an Action<T> where T is property's type, however that means i have to write an action for each property
is there a better way?
8 Replies
implement
INotifyPropertyChanged
How would i subscribe to it
as right now i can do this with actions
?
subscribe to PropertyChanged
and switch on the property name
Oh okay, thank you. That makes sense
$close
Use the
/close
command to mark a forum thread as answeredoh, i forgot it existed here. Thanks once again! ❤️
np