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

321 lines
15 KiB
C#

using System;
using System.ComponentModel;
using Cpp2IlInjected;
namespace System.Configuration
{
/// <summary>Acts as a base class for deriving concrete wrapper classes to implement the application settings feature in Window Forms applications.</summary>
// Token: 0x020003AE RID: 942
[Token(Token = "0x20003AE")]
public abstract class ApplicationSettingsBase : SettingsBase, INotifyPropertyChanged
{
/// <summary>Initializes an instance of the <see cref="T:System.Configuration.ApplicationSettingsBase" /> class to its default state.</summary>
// Token: 0x060018EC RID: 6380 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60018EC")]
[Address(RVA = "0x2F38600", Offset = "0x2F37600", VA = "0x182F38600")]
protected ApplicationSettingsBase()
{
}
/// <summary>Initializes an instance of the <see cref="T:System.Configuration.ApplicationSettingsBase" /> class using the supplied owner component.</summary>
/// <param name="owner">The component that will act as the owner of the application settings object.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="owner" /> is <see langword="null" />.</exception>
// Token: 0x060018ED RID: 6381 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60018ED")]
[Address(RVA = "0x2F38690", Offset = "0x2F37690", VA = "0x182F38690")]
protected ApplicationSettingsBase(IComponent owner)
{
}
/// <summary>Initializes an instance of the <see cref="T:System.Configuration.ApplicationSettingsBase" /> class using the supplied owner component and settings key.</summary>
/// <param name="owner">The component that will act as the owner of the application settings object.</param>
/// <param name="settingsKey">A <see cref="T:System.String" /> that uniquely identifies separate instances of the wrapper class.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="owner" /> is <see langword="null" />.</exception>
// Token: 0x060018EE RID: 6382 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60018EE")]
[Address(RVA = "0x2F38660", Offset = "0x2F37660", VA = "0x182F38660")]
protected ApplicationSettingsBase(IComponent owner, string settingsKey)
{
}
/// <summary>Initializes an instance of the <see cref="T:System.Configuration.ApplicationSettingsBase" /> class using the supplied settings key.</summary>
/// <param name="settingsKey">A <see cref="T:System.String" /> that uniquely identifies separate instances of the wrapper class.</param>
// Token: 0x060018EF RID: 6383 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60018EF")]
[Address(RVA = "0x2F38630", Offset = "0x2F37630", VA = "0x182F38630")]
protected ApplicationSettingsBase(string settingsKey)
{
}
/// <summary>Gets the application settings context associated with the settings group.</summary>
/// <returns>A <see cref="T:System.Configuration.SettingsContext" /> associated with the settings group.</returns>
// Token: 0x17000592 RID: 1426
// (get) Token: 0x060018F0 RID: 6384 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000592")]
public override SettingsContext Context
{
[Token(Token = "0x60018F0")]
[Address(RVA = "0x2F38780", Offset = "0x2F37780", VA = "0x182F38780", Slot = "4")]
get
{
return null;
}
}
/// <summary>Gets or sets the value of the specified application settings property.</summary>
/// <param name="propertyName">A <see cref="T:System.String" /> containing the name of the property to access.</param>
/// <returns>If found, the value of the named settings property; otherwise, <see langword="null" />.</returns>
/// <exception cref="T:System.Configuration.SettingsPropertyNotFoundException">There are no properties associated with the current wrapper or the specified property could not be found.</exception>
/// <exception cref="T:System.Configuration.SettingsPropertyIsReadOnlyException">An attempt was made to set a read-only property.</exception>
/// <exception cref="T:System.Configuration.SettingsPropertyWrongTypeException">The value supplied is of a type incompatible with the settings property, during a set operation.</exception>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">The configuration file could not be parsed.</exception>
// Token: 0x17000593 RID: 1427
[Token(Token = "0x17000593")]
public override object this[string propertyName]
{
[Token(Token = "0x60018F1")]
[Address(RVA = "0x2F387B0", Offset = "0x2F377B0", VA = "0x182F387B0", Slot = "5")]
get
{
return null;
}
[Token(Token = "0x60018F2")]
[Address(RVA = "0x2F38960", Offset = "0x2F37960", VA = "0x182F38960", Slot = "6")]
set
{
}
}
/// <summary>Gets the collection of settings properties in the wrapper.</summary>
/// <returns>A <see cref="T:System.Configuration.SettingsPropertyCollection" /> containing all the <see cref="T:System.Configuration.SettingsProperty" /> objects used in the current wrapper.</returns>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">The associated settings provider could not be found or its instantiation failed.</exception>
// Token: 0x17000594 RID: 1428
// (get) Token: 0x060018F3 RID: 6387 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000594")]
public override SettingsPropertyCollection Properties
{
[Token(Token = "0x60018F3")]
[Address(RVA = "0x2F387E0", Offset = "0x2F377E0", VA = "0x182F387E0", Slot = "7")]
get
{
return null;
}
}
/// <summary>Gets a collection of property values.</summary>
/// <returns>A <see cref="T:System.Configuration.SettingsPropertyValueCollection" /> of property values.</returns>
// Token: 0x17000595 RID: 1429
// (get) Token: 0x060018F4 RID: 6388 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000595")]
public override SettingsPropertyValueCollection PropertyValues
{
[Token(Token = "0x60018F4")]
[Address(RVA = "0x2F38810", Offset = "0x2F37810", VA = "0x182F38810", Slot = "8")]
get
{
return null;
}
}
/// <summary>Gets the collection of application settings providers used by the wrapper.</summary>
/// <returns>A <see cref="T:System.Configuration.SettingsProviderCollection" /> containing all the <see cref="T:System.Configuration.SettingsProvider" /> objects used by the settings properties of the current settings wrapper.</returns>
// Token: 0x17000596 RID: 1430
// (get) Token: 0x060018F5 RID: 6389 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000596")]
public override SettingsProviderCollection Providers
{
[Token(Token = "0x60018F5")]
[Address(RVA = "0x2F38840", Offset = "0x2F37840", VA = "0x182F38840", Slot = "9")]
get
{
return null;
}
}
/// <summary>Gets or sets the settings key for the application settings group.</summary>
/// <returns>A <see cref="T:System.String" /> containing the settings key for the current settings group.</returns>
// Token: 0x17000597 RID: 1431
// (get) Token: 0x060018F6 RID: 6390 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x060018F7 RID: 6391 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000597")]
public string SettingsKey
{
[Token(Token = "0x60018F6")]
[Address(RVA = "0x2F38870", Offset = "0x2F37870", VA = "0x182F38870")]
get
{
return null;
}
[Token(Token = "0x60018F7")]
[Address(RVA = "0x2F38990", Offset = "0x2F37990", VA = "0x182F38990")]
set
{
}
}
/// <summary>Occurs after the value of an application settings property is changed.</summary>
// Token: 0x14000011 RID: 17
// (add) Token: 0x060018F8 RID: 6392 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x060018F9 RID: 6393 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000011")]
public event PropertyChangedEventHandler PropertyChanged
{
[Token(Token = "0x60018F8")]
[Address(RVA = "0x2F386C0", Offset = "0x2F376C0", VA = "0x182F386C0", Slot = "11")]
add
{
}
[Token(Token = "0x60018F9")]
[Address(RVA = "0x2F388A0", Offset = "0x2F378A0", VA = "0x182F388A0", Slot = "12")]
remove
{
}
}
/// <summary>Occurs before the value of an application settings property is changed.</summary>
// Token: 0x14000012 RID: 18
// (add) Token: 0x060018FA RID: 6394 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x060018FB RID: 6395 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000012")]
public event SettingChangingEventHandler SettingChanging
{
[Token(Token = "0x60018FA")]
[Address(RVA = "0x2F386F0", Offset = "0x2F376F0", VA = "0x182F386F0")]
add
{
}
[Token(Token = "0x60018FB")]
[Address(RVA = "0x2F388D0", Offset = "0x2F378D0", VA = "0x182F388D0")]
remove
{
}
}
/// <summary>Occurs after the application settings are retrieved from storage.</summary>
// Token: 0x14000013 RID: 19
// (add) Token: 0x060018FC RID: 6396 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x060018FD RID: 6397 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000013")]
public event SettingsLoadedEventHandler SettingsLoaded
{
[Token(Token = "0x60018FC")]
[Address(RVA = "0x2F38720", Offset = "0x2F37720", VA = "0x182F38720")]
add
{
}
[Token(Token = "0x60018FD")]
[Address(RVA = "0x2F38900", Offset = "0x2F37900", VA = "0x182F38900")]
remove
{
}
}
/// <summary>Occurs before values are saved to the data store.</summary>
// Token: 0x14000014 RID: 20
// (add) Token: 0x060018FE RID: 6398 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x060018FF RID: 6399 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000014")]
public event SettingsSavingEventHandler SettingsSaving
{
[Token(Token = "0x60018FE")]
[Address(RVA = "0x2F38750", Offset = "0x2F37750", VA = "0x182F38750")]
add
{
}
[Token(Token = "0x60018FF")]
[Address(RVA = "0x2F38930", Offset = "0x2F37930", VA = "0x182F38930")]
remove
{
}
}
/// <summary>Returns the value of the named settings property for the previous version of the same application.</summary>
/// <param name="propertyName">A <see cref="T:System.String" /> containing the name of the settings property whose value is to be returned.</param>
/// <returns>An <see cref="T:System.Object" /> containing the value of the specified <see cref="T:System.Configuration.SettingsProperty" /> if found; otherwise, <see langword="null" />.</returns>
/// <exception cref="T:System.Configuration.SettingsPropertyNotFoundException">The property does not exist. The property count is zero or the property cannot be found in the data store.</exception>
// Token: 0x06001900 RID: 6400 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001900")]
[Address(RVA = "0x2F38450", Offset = "0x2F37450", VA = "0x182F38450")]
public object GetPreviousVersion(string propertyName)
{
return null;
}
/// <summary>Raises the <see cref="E:System.Configuration.ApplicationSettingsBase.PropertyChanged" /> event.</summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">A <see cref="T:System.ComponentModel.PropertyChangedEventArgs" /> that contains the event data.</param>
// Token: 0x06001901 RID: 6401 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001901")]
[Address(RVA = "0x2F38480", Offset = "0x2F37480", VA = "0x182F38480", Slot = "13")]
protected virtual void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
{
}
/// <summary>Raises the <see cref="E:System.Configuration.ApplicationSettingsBase.SettingChanging" /> event.</summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">A <see cref="T:System.Configuration.SettingChangingEventArgs" /> that contains the event data.</param>
// Token: 0x06001902 RID: 6402 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001902")]
[Address(RVA = "0x2F384B0", Offset = "0x2F374B0", VA = "0x182F384B0", Slot = "14")]
protected virtual void OnSettingChanging(object sender, SettingChangingEventArgs e)
{
}
/// <summary>Raises the <see cref="E:System.Configuration.ApplicationSettingsBase.SettingsLoaded" /> event.</summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">A <see cref="T:System.Configuration.SettingsLoadedEventArgs" /> that contains the event data.</param>
// Token: 0x06001903 RID: 6403 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001903")]
[Address(RVA = "0x2F384E0", Offset = "0x2F374E0", VA = "0x182F384E0", Slot = "15")]
protected virtual void OnSettingsLoaded(object sender, SettingsLoadedEventArgs e)
{
}
/// <summary>Raises the <see cref="E:System.Configuration.ApplicationSettingsBase.SettingsSaving" /> event.</summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">A <see cref="T:System.ComponentModel.CancelEventArgs" /> that contains the event data.</param>
// Token: 0x06001904 RID: 6404 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001904")]
[Address(RVA = "0x2F38510", Offset = "0x2F37510", VA = "0x182F38510", Slot = "16")]
protected virtual void OnSettingsSaving(object sender, CancelEventArgs e)
{
}
/// <summary>Refreshes the application settings property values from persistent storage.</summary>
// Token: 0x06001905 RID: 6405 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001905")]
[Address(RVA = "0x2F38540", Offset = "0x2F37540", VA = "0x182F38540")]
public void Reload()
{
}
/// <summary>Restores the persisted application settings values to their corresponding default properties.</summary>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">The configuration file could not be parsed.</exception>
// Token: 0x06001906 RID: 6406 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001906")]
[Address(RVA = "0x2F38570", Offset = "0x2F37570", VA = "0x182F38570")]
public void Reset()
{
}
/// <summary>Stores the current values of the application settings properties.</summary>
// Token: 0x06001907 RID: 6407 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001907")]
[Address(RVA = "0x2F385A0", Offset = "0x2F375A0", VA = "0x182F385A0", Slot = "10")]
public override void Save()
{
}
/// <summary>Updates application settings to reflect a more recent installation of the application.</summary>
/// <exception cref="T:System.Configuration.ConfigurationErrorsException">The configuration file could not be parsed.</exception>
// Token: 0x06001908 RID: 6408 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001908")]
[Address(RVA = "0x2F385D0", Offset = "0x2F375D0", VA = "0x182F385D0", Slot = "17")]
public virtual void Upgrade()
{
}
}
}