Esempio n. 1
0
 public void Add(object key, object value)
 {
     if (!ContainsKey(key))
     {
         RealKeyValuePair _newKeyPair = new RealKeyValuePair();
         _newKeyPair.Key = key;
         _newKeyPair.Value = value;
         _data.Add(_newKeyPair);
         if (OnAdd != null)
             OnAdd(key, value);
     }
 }
Esempio n. 2
0
 public void Add(object key, object value)
 {
     if (!ContainsKey(key))
     {
         RealKeyValuePair _newKeyPair = new RealKeyValuePair();
         _newKeyPair.Key   = key;
         _newKeyPair.Value = value;
         _data.Add(_newKeyPair);
         if (OnAdd != null)
         {
             OnAdd(key, value);
         }
     }
 }