You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
590 B
25 lines
590 B
#if NET20 || NET30 || NET35 || NET40 || !NET_4_6 |
|
|
|
namespace System.Collections.Generic |
|
{ |
|
public partial interface IReadOnlyDictionary<TKey, TValue> : IReadOnlyCollection<KeyValuePair<TKey, TValue>> |
|
{ |
|
IEnumerable<TKey> Keys { get; } |
|
|
|
IEnumerable<TValue> Values { get; } |
|
} |
|
|
|
public partial interface IReadOnlyDictionary<TKey, TValue> |
|
{ |
|
TValue this[TKey key] { get; } |
|
} |
|
|
|
public partial interface IReadOnlyDictionary<TKey, TValue> |
|
{ |
|
bool ContainsKey(TKey key); |
|
|
|
bool TryGetValue(TKey key, out TValue value); |
|
} |
|
} |
|
|
|
#endif |