Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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);
 }