36 lines
2.1 KiB
C#
36 lines
2.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Defines extended capabilities for client-based application settings providers.</summary>
|
|
// Token: 0x0200038B RID: 907
|
|
[Token(Token = "0x200038B")]
|
|
public interface IApplicationSettingsProvider
|
|
{
|
|
/// <summary>Returns the value of the specified settings property for the previous version of the same application.</summary>
|
|
/// <param name="context">A <see cref="T:System.Configuration.SettingsContext" /> describing the current application usage.</param>
|
|
/// <param name="property">The <see cref="T:System.Configuration.SettingsProperty" /> whose value is to be returned.</param>
|
|
/// <returns>A <see cref="T:System.Configuration.SettingsPropertyValue" /> containing the value of the specified property setting as it was last set in the previous version of the application; or <see langword="null" /> if the setting cannot be found.</returns>
|
|
// Token: 0x060017EC RID: 6124
|
|
[Token(Token = "0x60017EC")]
|
|
[Address(Slot = "0")]
|
|
SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property);
|
|
|
|
/// <summary>Resets the application settings associated with the specified application to their default values.</summary>
|
|
/// <param name="context">A <see cref="T:System.Configuration.SettingsContext" /> describing the current application usage.</param>
|
|
// Token: 0x060017ED RID: 6125
|
|
[Token(Token = "0x60017ED")]
|
|
[Address(Slot = "1")]
|
|
void Reset(SettingsContext context);
|
|
|
|
/// <summary>Indicates to the provider that the application has been upgraded. This offers the provider an opportunity to upgrade its stored settings as appropriate.</summary>
|
|
/// <param name="context">A <see cref="T:System.Configuration.SettingsContext" /> describing the current application usage.</param>
|
|
/// <param name="properties">A <see cref="T:System.Configuration.SettingsPropertyCollection" /> containing the settings property group whose values are to be retrieved.</param>
|
|
// Token: 0x060017EE RID: 6126
|
|
[Token(Token = "0x60017EE")]
|
|
[Address(Slot = "2")]
|
|
void Upgrade(SettingsContext context, SettingsPropertyCollection properties);
|
|
}
|
|
}
|