using System;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Represents a generic read-only collection of key/value pairs.
/// The type of keys in the read-only dictionary.
/// The type of values in the read-only dictionary.
// Token: 0x02000612 RID: 1554
[Token(Token = "0x2000612")]
public interface IReadOnlyDictionary : IReadOnlyCollection>, IEnumerable>, IEnumerable
{
/// Determines whether the read-only dictionary contains an element that has the specified key.
/// The key to locate.
///
/// if the read-only dictionary contains an element that has the specified key; otherwise, .
///
/// is .
// Token: 0x06002F10 RID: 12048
[Token(Token = "0x6002F10")]
[Address(Slot = "0")]
bool ContainsKey(TKey key);
/// Gets the value that is associated with the specified key.
/// The key to locate.
/// When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
///
/// if the object that implements the interface contains an element that has the specified key; otherwise, .
///
/// is .
// Token: 0x06002F11 RID: 12049
[Token(Token = "0x6002F11")]
[Address(Slot = "1")]
bool TryGetValue(TKey key, out TValue value);
/// Gets the element that has the specified key in the read-only dictionary.
/// The key to locate.
/// The element that has the specified key in the read-only dictionary.
///
/// is .
/// The property is retrieved and is not found.
// Token: 0x17000758 RID: 1880
[Token(Token = "0x17000758")]
TValue this[TKey key]
{
[Token(Token = "0x6002F12")]
[Address(Slot = "2")]
get;
}
/// Gets an enumerable collection that contains the keys in the read-only dictionary.
/// An enumerable collection that contains the keys in the read-only dictionary.
// Token: 0x17000759 RID: 1881
// (get) Token: 0x06002F13 RID: 12051
[Token(Token = "0x17000759")]
IEnumerable Keys
{
[Token(Token = "0x6002F13")]
[Address(Slot = "3")]
get;
}
/// Gets an enumerable collection that contains the values in the read-only dictionary.
/// An enumerable collection that contains the values in the read-only dictionary.
// Token: 0x1700075A RID: 1882
// (get) Token: 0x06002F14 RID: 12052
[Token(Token = "0x1700075A")]
IEnumerable Values
{
[Token(Token = "0x6002F14")]
[Address(Slot = "4")]
get;
}
}
}