- changed milestone to Future version
TDictionary contains an OnChanged event that is never triggered
Issue #96
resolved
System.Generics.Collections.TDictionary<>
contains two events OnKeyNotify
and OnValueNotify
. Spring.Collections.IDictionary<>
also contains OnKeyChanged
and OnValueChanged
which seem to work fine since they're handled by the encapsulated TDictionary<>
. The additional OnChanged
event that is introduced by Spring.Collections.Base.TCollectionBase<>
however never gets fired. Please see the attached test case.
Comments (8)
-
repo owner -
repo owner - changed status to open
-
repo owner - changed milestone to 1.3
-
repo owner Issue
#206was marked as a duplicate of this issue. -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed version to 1.2
-
repo owner - changed status to resolved
Fixed in develop by the new implementation of TDictionary
-
repo owner - changed milestone to 2.0
- Log in to comment
I am not saying this is as designed but a limitation because of using the TDictionary from Generics.Collections. In this implementation there is no way to get notified of all changes that provide key and value.
Removing the dependency on Generics.Collections might be done in a future version - until then unfortunately this limitation will remain.