private void Init(BindingDict <TKey, TValue> rhs)
 {
     SupportsSorting        = rhs.SupportsSorting;
     RaiseListChangedEvents = rhs.RaiseListChangedEvents;
     KeyFrom       = rhs.KeyFrom;
     IsReadOnly    = rhs.IsReadOnly;
     IsSorted      = rhs.IsSorted;
     SortProperty  = rhs.SortProperty;
     SortDirection = rhs.SortDirection;
 }
 public BindingDict(BindingDict <TKey, TValue> rhs)
 {
     m_dict = new Dictionary <TKey, TValue>(rhs.m_dict);
     m_keys = new List <TKey>(rhs.m_keys);
     Init(rhs);
 }