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: 0x02000387 RID: 903
|
|
[Token(Token = "0x2000387")]
|
|
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: 0x060017D5 RID: 6101
|
|
[Token(Token = "0x60017D5")]
|
|
[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: 0x060017D6 RID: 6102
|
|
[Token(Token = "0x60017D6")]
|
|
[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: 0x060017D7 RID: 6103
|
|
[Token(Token = "0x60017D7")]
|
|
[Address(Slot = "2")]
|
|
void Upgrade(SettingsContext context, SettingsPropertyCollection properties);
|
|
}
|
|
}
|