importing messaging-2008 branch to trunk, going on.
[mono.git] / mcs / class / corlib / System.Collections.Generic / IDictionary.cs
index 8bba5b6b2660fa4dda95df34553240a9ef0bea48..78dd524c6a9cc04f039166192afb1d9ef5fe8e4e 100644 (file)
 using System;
 using System.Runtime.InteropServices;
 
-namespace System.Collections.Generic {
-       [CLSCompliant(false)]
-       [ComVisible(false)]
-       public interface IDictionary<K,V> : ICollection<KeyValuePair<K,V>> {
-               void Add (K key, V value);
-               bool ContainsKey (K key);
-               bool Remove (K key);
-               V this[K key] { get; set; }
-               ICollection<K> Keys { get; }
-               ICollection<V> Values { get; }
+namespace System.Collections.Generic
+{
+       public interface IDictionary<TKey,TValue> : ICollection<KeyValuePair<TKey,TValue>>
+       {
+               
+               void Add (TKey key, TValue value);
+               bool ContainsKey (TKey key);
+               bool Remove (TKey key);
+               bool TryGetValue (TKey key, out TValue value);
+               TValue this[TKey key] { get; set; }
+               ICollection<TKey> Keys { get; }
+               ICollection<TValue> Values { get; }
        }
 }
 #endif