firely-net-sdk
firely-net-sdk copied to clipboard
INotifyPropertyChanged work chained back to the parent resource?
I am trying to use INotifyPropertyChanged
to detect when a property value has changed. For non-collection type property, this works fine but for anything that's exposed as List or IEnumerable, it seems like the property changed event only happens if the entire collection is replaced. Also, the parent resource does not subscribe to child object changes (e.g., Patient resource will only fire change event if the entire Name list is set to a new instance. Adding a new name or modifying an existing name will not trigger change event).
Is this intentional? I think it would be really useful to say given a resource, notify me when any of the sub property including the list content changes.