Files
Apr2020-Cpp2Il-Dump/System/Configuration/ApplicationSettingsBase.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x020003B2 RID: 946
[Token(Token = "0x20003B2")]
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: 0x06001903 RID: 6403 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001903")]
[Address(RVA = "0x289DB40", Offset = "0x289C940", VA = "0x18289DB40")]
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: 0x06001904 RID: 6404 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001904")]
[Address(RVA = "0x289DBD0", Offset = "0x289C9D0", VA = "0x18289DBD0")]
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: 0x06001905 RID: 6405 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001905")]
[Address(RVA = "0x289DBA0", Offset = "0x289C9A0", VA = "0x18289DBA0")]
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: 0x06001906 RID: 6406 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001906")]
[Address(RVA = "0x289DB70", Offset = "0x289C970", VA = "0x18289DB70")]
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: 0x17000596 RID: 1430
// (get) Token: 0x06001907 RID: 6407 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000596")]
public override SettingsContext Context
{
[Token(Token = "0x6001907")]
[Address(RVA = "0x289DCC0", Offset = "0x289CAC0", VA = "0x18289DCC0", 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: 0x17000597 RID: 1431
[Token(Token = "0x17000597")]
public override object this[string propertyName]
{
[Token(Token = "0x6001908")]
[Address(RVA = "0x289DCF0", Offset = "0x289CAF0", VA = "0x18289DCF0", Slot = "5")]
get
{
return null;
}
[Token(Token = "0x6001909")]
[Address(RVA = "0x289DEA0", Offset = "0x289CCA0", VA = "0x18289DEA0", 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: 0x17000598 RID: 1432
// (get) Token: 0x0600190A RID: 6410 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000598")]
public override SettingsPropertyCollection Properties
{
[Token(Token = "0x600190A")]
[Address(RVA = "0x289DD20", Offset = "0x289CB20", VA = "0x18289DD20", 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: 0x17000599 RID: 1433
// (get) Token: 0x0600190B RID: 6411 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000599")]
public override SettingsPropertyValueCollection PropertyValues
{
[Token(Token = "0x600190B")]
[Address(RVA = "0x289DD50", Offset = "0x289CB50", VA = "0x18289DD50", 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: 0x1700059A RID: 1434
// (get) Token: 0x0600190C RID: 6412 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700059A")]
public override SettingsProviderCollection Providers
{
[Token(Token = "0x600190C")]
[Address(RVA = "0x289DD80", Offset = "0x289CB80", VA = "0x18289DD80", 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: 0x1700059B RID: 1435
// (get) Token: 0x0600190D RID: 6413 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600190E RID: 6414 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700059B")]
public string SettingsKey
{
[Token(Token = "0x600190D")]
[Address(RVA = "0x289DDB0", Offset = "0x289CBB0", VA = "0x18289DDB0")]
get
{
return null;
}
[Token(Token = "0x600190E")]
[Address(RVA = "0x289DED0", Offset = "0x289CCD0", VA = "0x18289DED0")]
set
{
}
}
/// <summary>Occurs after the value of an application settings property is changed.</summary>
// Token: 0x14000012 RID: 18
// (add) Token: 0x0600190F RID: 6415 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x06001910 RID: 6416 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000012")]
public event PropertyChangedEventHandler PropertyChanged
{
[Token(Token = "0x600190F")]
[Address(RVA = "0x289DC00", Offset = "0x289CA00", VA = "0x18289DC00", Slot = "11")]
add
{
}
[Token(Token = "0x6001910")]
[Address(RVA = "0x289DDE0", Offset = "0x289CBE0", VA = "0x18289DDE0", Slot = "12")]
remove
{
}
}
/// <summary>Occurs before the value of an application settings property is changed.</summary>
// Token: 0x14000013 RID: 19
// (add) Token: 0x06001911 RID: 6417 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x06001912 RID: 6418 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000013")]
public event SettingChangingEventHandler SettingChanging
{
[Token(Token = "0x6001911")]
[Address(RVA = "0x289DC30", Offset = "0x289CA30", VA = "0x18289DC30")]
add
{
}
[Token(Token = "0x6001912")]
[Address(RVA = "0x289DE10", Offset = "0x289CC10", VA = "0x18289DE10")]
remove
{
}
}
/// <summary>Occurs after the application settings are retrieved from storage.</summary>
// Token: 0x14000014 RID: 20
// (add) Token: 0x06001913 RID: 6419 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x06001914 RID: 6420 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000014")]
public event SettingsLoadedEventHandler SettingsLoaded
{
[Token(Token = "0x6001913")]
[Address(RVA = "0x289DC60", Offset = "0x289CA60", VA = "0x18289DC60")]
add
{
}
[Token(Token = "0x6001914")]
[Address(RVA = "0x289DE40", Offset = "0x289CC40", VA = "0x18289DE40")]
remove
{
}
}
/// <summary>Occurs before values are saved to the data store.</summary>
// Token: 0x14000015 RID: 21
// (add) Token: 0x06001915 RID: 6421 RVA: 0x00002053 File Offset: 0x00000253
// (remove) Token: 0x06001916 RID: 6422 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x14000015")]
public event SettingsSavingEventHandler SettingsSaving
{
[Token(Token = "0x6001915")]
[Address(RVA = "0x289DC90", Offset = "0x289CA90", VA = "0x18289DC90")]
add
{
}
[Token(Token = "0x6001916")]
[Address(RVA = "0x289DE70", Offset = "0x289CC70", VA = "0x18289DE70")]
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: 0x06001917 RID: 6423 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001917")]
[Address(RVA = "0x289D990", Offset = "0x289C790", VA = "0x18289D990")]
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: 0x06001918 RID: 6424 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001918")]
[Address(RVA = "0x289D9C0", Offset = "0x289C7C0", VA = "0x18289D9C0", 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: 0x06001919 RID: 6425 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001919")]
[Address(RVA = "0x289D9F0", Offset = "0x289C7F0", VA = "0x18289D9F0", 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: 0x0600191A RID: 6426 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191A")]
[Address(RVA = "0x289DA20", Offset = "0x289C820", VA = "0x18289DA20", 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: 0x0600191B RID: 6427 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191B")]
[Address(RVA = "0x289DA50", Offset = "0x289C850", VA = "0x18289DA50", Slot = "16")]
protected virtual void OnSettingsSaving(object sender, CancelEventArgs e)
{
}
/// <summary>Refreshes the application settings property values from persistent storage.</summary>
// Token: 0x0600191C RID: 6428 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191C")]
[Address(RVA = "0x289DA80", Offset = "0x289C880", VA = "0x18289DA80")]
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: 0x0600191D RID: 6429 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191D")]
[Address(RVA = "0x289DAB0", Offset = "0x289C8B0", VA = "0x18289DAB0")]
public void Reset()
{
}
/// <summary>Stores the current values of the application settings properties.</summary>
// Token: 0x0600191E RID: 6430 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191E")]
[Address(RVA = "0x289DAE0", Offset = "0x289C8E0", VA = "0x18289DAE0", 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: 0x0600191F RID: 6431 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600191F")]
[Address(RVA = "0x289DB10", Offset = "0x289C910", VA = "0x18289DB10", Slot = "17")]
public virtual void Upgrade()
{
}
}
}