Provide a 'global' PropertyChanged event (e.g. at the Consumer) #32
Description
In order to get notified about a parameter value change, you must today subscribe to the PropertyChanged
event of that specific Parameter
instance.
This individual event subscription is fine and works perfect.
But in case you are interested in ANY parameter value change (e.g. because your are implementing a general viewer/consumer app), you must subscribe to ALL parameter PropertyChanged
events - which might be hundreds or thousand of events to subscribe to (depending on the provider you are connected to).
This seems in some cases quite uncomfortable and cumbersome.
Is there a possibility to provide a single/global PropertyChanged
event (e.g. at the Consumer class level) which is being raised, in case ANY parameter is changing. The PropertyChangedEventArgs
PropertyName
member in this case contain the full path of the related Parameter
being changed?!
Many Thanks in advance,
Bernd