public void CopyTo(SerializableKeyValuePair <TKey, TValue>[] array, int arrayIndex) { foreach (KeyValuePair <TKey, TValue> CurPair in mInternalDictionary) { array[arrayIndex] = new SerializableKeyValuePair <TKey, TValue>(CurPair); ++arrayIndex; } }
public bool Remove(SerializableKeyValuePair <TKey, TValue> item) { IDictionary <TKey, TValue> iDic = mInternalDictionary; return(iDic.Remove(new KeyValuePair <TKey, TValue>(item.Key, item.Value))); }
public void Add(SerializableKeyValuePair <TKey, TValue> item) { IDictionary <TKey, TValue> iDic = mInternalDictionary; iDic.Add(new KeyValuePair <TKey, TValue>(item.Key, item.Value)); }