Opened 12 years ago
Last modified 10 years ago
#2240 new defect
Events for adding items to ObservableDictionary are not consistent
| Reported by: | abeham | Owned by: | |
|---|---|---|---|
| Priority: | medium | Milestone: | HeuristicLab 4.0 |
| Component: | Collections | Version: | 3.3.10 |
| Keywords: | Cc: |
Description
The following code fires ItemsAdded if element key was not present in the dictionary yet:
observableDict[key] = val;
whereas the following code fires ItemsAdded as well as PropertyChanged 4(!) times with "Item[]", "Keys", "Values", and "Count" as property names:
observableDict.Add(key, val);
Both ways should lead to the same events being fired.
Change History (3)
comment:1 Changed 11 years ago by ascheibe
- Milestone changed from HeuristicLab 3.3.11 to HeuristicLab 3.3.12
comment:2 Changed 11 years ago by ascheibe
- Milestone changed from HeuristicLab 3.3.12 to HeuristicLab 3.3.13
comment:3 Changed 10 years ago by mkommend
- Milestone changed from HeuristicLab 3.3.13 to HeuristicLab 4.0
Note: See
TracTickets for help on using
tickets.


