Open jackliums opened 4 years ago
That is correct, we don't use ObservableCollections, we use simple lists.
Should we use ObservableCollections? Is that expensive, performance-wise?
We need IList (or something similar) on Poco's for this to use other collection types.
We'll plan this for SDK 6.0
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.