Files
Aug2021-Cpp2IL-Dump/System/Configuration/LocalFileSettingsProvider.cs
T
2026-04-10 22:50:51 +02:00

113 lines
6.6 KiB
C#

using System;
using System.Collections.Specialized;
using Cpp2IlInjected;
namespace System.Configuration
{
/// <summary>Provides persistence for application settings classes.</summary>
// Token: 0x020003C8 RID: 968
[Token(Token = "0x20003C8")]
public class LocalFileSettingsProvider : SettingsProvider, IApplicationSettingsProvider
{
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.LocalFileSettingsProvider" /> class.</summary>
// Token: 0x06001978 RID: 6520 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001978")]
[Address(RVA = "0x28A6700", Offset = "0x28A5500", VA = "0x1828A6700")]
public LocalFileSettingsProvider()
{
}
/// <summary>Gets or sets the name of the currently running application.</summary>
/// <returns>A string that contains the application's display name.</returns>
// Token: 0x170005B7 RID: 1463
// (get) Token: 0x06001979 RID: 6521 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600197A RID: 6522 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170005B7")]
public override string ApplicationName
{
[Token(Token = "0x6001979")]
[Address(RVA = "0x28A6730", Offset = "0x28A5530", VA = "0x1828A6730", Slot = "5")]
get
{
return null;
}
[Token(Token = "0x600197A")]
[Address(RVA = "0x28A6760", Offset = "0x28A5560", VA = "0x1828A6760", Slot = "6")]
set
{
}
}
/// <summary>Returns the value of the named settings property for the previous version of the same application.</summary>
/// <param name="context">A <see cref="T:System.Configuration.SettingsContext" /> that describes where the application settings property is used.</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" /> representing the application setting if found; otherwise, <see langword="null" />.</returns>
// Token: 0x0600197B RID: 6523 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197B")]
[Address(RVA = "0x28A65E0", Offset = "0x28A53E0", VA = "0x1828A65E0", Slot = "9")]
public SettingsPropertyValue GetPreviousVersion(SettingsContext context, SettingsProperty property)
{
return null;
}
/// <summary>Returns the collection of setting property values for the specified application instance and settings property group.</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>
/// <returns>A <see cref="T:System.Configuration.SettingsPropertyValueCollection" /> containing the values for the specified settings property group.</returns>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">A user-scoped setting was encountered but the current configuration only supports application-scoped settings.</exception>
// Token: 0x0600197C RID: 6524 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600197C")]
[Address(RVA = "0x28A6610", Offset = "0x28A5410", VA = "0x1828A6610", Slot = "7")]
public override SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
{
return null;
}
/// <summary>Initializes the provider.</summary>
/// <param name="name">The friendly name of the provider.</param>
/// <param name="values">A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.</param>
// Token: 0x0600197D RID: 6525 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600197D")]
[Address(RVA = "0x28A6640", Offset = "0x28A5440", VA = "0x1828A6640", Slot = "4")]
public override void Initialize(string name, NameValueCollection values)
{
}
/// <summary>Resets all application settings properties 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>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">A user-scoped setting was encountered but the current configuration only supports application-scoped settings.</exception>
// Token: 0x0600197E RID: 6526 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600197E")]
[Address(RVA = "0x28A6670", Offset = "0x28A5470", VA = "0x1828A6670", Slot = "10")]
public void Reset(SettingsContext context)
{
}
/// <summary>Sets the values of the specified group of property settings.</summary>
/// <param name="context">A <see cref="T:System.Configuration.SettingsContext" /> describing the current application usage.</param>
/// <param name="values">A <see cref="T:System.Configuration.SettingsPropertyValueCollection" /> representing the group of property settings to set.</param>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">A user-scoped setting was encountered but the current configuration only supports application-scoped settings.
/// -or-
/// There was a general failure saving the settings to the configuration file.</exception>
// Token: 0x0600197F RID: 6527 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600197F")]
[Address(RVA = "0x28A66A0", Offset = "0x28A54A0", VA = "0x1828A66A0", Slot = "8")]
public override void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection values)
{
}
/// <summary>Attempts to migrate previous user-scoped settings from a 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="properties">A <see cref="T:System.Configuration.SettingsPropertyCollection" /> containing the settings property group whose values are to be retrieved.</param>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">A user-scoped setting was encountered but the current configuration only supports application-scoped settings.
/// -or-
/// The previous version of the configuration file could not be accessed.</exception>
// Token: 0x06001980 RID: 6528 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001980")]
[Address(RVA = "0x28A66D0", Offset = "0x28A54D0", VA = "0x1828A66D0", Slot = "11")]
public void Upgrade(SettingsContext context, SettingsPropertyCollection properties)
{
}
}
}