Wednesday 4 December 2013

A really simple observable dictionary

In my current WPF project, people are widely using observable container like ObservableCollection<T>. The other day someone whinged why there is no observable dictionary like ObservableDictionary<T>??

All right, I googled and then found an implementation. It greatly implemented so many interfaces...oh!! I even don't notice some of them when I was using containers! 

As a lazy and stupid man, I tailored it and worked out a simple version by inheriting dictionary directly. Here coming code.




No comments :

Post a Comment