Ejemplo 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);
     }
 }
Ejemplo 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);
         }
     }
 }