Files
27Aug2021-Cpp2IL-Dump/System/Configuration/IPersistComponentSettings.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

63 lines
2.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Configuration
{
/// <summary>Defines standard functionality for controls or libraries that store and retrieve application settings.</summary>
// Token: 0x020003C1 RID: 961
[Token(Token = "0x20003C1")]
public interface IPersistComponentSettings
{
/// <summary>Gets or sets a value indicating whether the control should automatically persist its application settings properties.</summary>
/// <returns>
/// <see langword="true" /> if the control should automatically persist its state; otherwise, <see langword="false" />.</returns>
// Token: 0x170005AF RID: 1455
// (get) Token: 0x06001955 RID: 6485
// (set) Token: 0x06001956 RID: 6486
[Token(Token = "0x170005AF")]
bool SaveSettings
{
[Token(Token = "0x6001955")]
[Address(Slot = "0")]
get;
[Token(Token = "0x6001956")]
[Address(Slot = "1")]
set;
}
/// <summary>Gets or sets the value of the application settings key for the current instance of the control.</summary>
/// <returns>A <see cref="T:System.String" /> containing the settings key for the current instance of the control.</returns>
// Token: 0x170005B0 RID: 1456
// (get) Token: 0x06001957 RID: 6487
// (set) Token: 0x06001958 RID: 6488
[Token(Token = "0x170005B0")]
string SettingsKey
{
[Token(Token = "0x6001957")]
[Address(Slot = "2")]
get;
[Token(Token = "0x6001958")]
[Address(Slot = "3")]
set;
}
/// <summary>Reads the control's application settings into their corresponding properties and updates the control's state.</summary>
// Token: 0x06001959 RID: 6489
[Token(Token = "0x6001959")]
[Address(Slot = "4")]
void LoadComponentSettings();
/// <summary>Resets the control's application settings properties to their default values.</summary>
// Token: 0x0600195A RID: 6490
[Token(Token = "0x600195A")]
[Address(Slot = "5")]
void ResetComponentSettings();
/// <summary>Persists the control's application settings properties.</summary>
// Token: 0x0600195B RID: 6491
[Token(Token = "0x600195B")]
[Address(Slot = "6")]
void SaveComponentSettings();
}
}