28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel.Design
|
|
{
|
|
/// <summary>Provides a basic, component site-specific, key-value pair dictionary through a service that a designer can use to store user-defined data.</summary>
|
|
// Token: 0x020001BF RID: 447
|
|
[Token(Token = "0x20001BF")]
|
|
public interface IDictionaryService
|
|
{
|
|
/// <summary>Gets the value corresponding to the specified key.</summary>
|
|
/// <param name="key">The key to look up the value for.</param>
|
|
/// <returns>The associated value, or <see langword="null" /> if no value exists.</returns>
|
|
// Token: 0x06000C16 RID: 3094
|
|
[Token(Token = "0x6000C16")]
|
|
[Address(Slot = "0")]
|
|
object GetValue(object key);
|
|
|
|
/// <summary>Sets the specified key-value pair.</summary>
|
|
/// <param name="key">An object to use as the key to associate the value with.</param>
|
|
/// <param name="value">The value to store.</param>
|
|
// Token: 0x06000C17 RID: 3095
|
|
[Token(Token = "0x6000C17")]
|
|
[Address(Slot = "1")]
|
|
void SetValue(object key, object value);
|
|
}
|
|
}
|