H
Henrik Dahl
Hello!
In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes at
other tiers. Typically my concept is a composite so MyCollectionElementClass
has a collection of MyCollectionElementClass.
Should I make one implementation for the UI-tier using
ObservableCollection(MyCollectionElementClass) and one for the non-UI tier
using List(MyCollectionElementClass) or should I use the implementation
using ObservableCollection(MyCollectionElementClass) for all tiers?
A more general question: Should ObservableCollection(Of T) basically only be
used at UI-tiers due to some performance or infrastructural reasons for
instance?
Best regards,
Henrik Dahl
In some situations I have a collection of objects which it in different
situations could be relevant to deal with at the UI-tier and sometimes at
other tiers. Typically my concept is a composite so MyCollectionElementClass
has a collection of MyCollectionElementClass.
Should I make one implementation for the UI-tier using
ObservableCollection(MyCollectionElementClass) and one for the non-UI tier
using List(MyCollectionElementClass) or should I use the implementation
using ObservableCollection(MyCollectionElementClass) for all tiers?
A more general question: Should ObservableCollection(Of T) basically only be
used at UI-tiers due to some performance or infrastructural reasons for
instance?
Best regards,
Henrik Dahl