54 lines
2.7 KiB
C#
54 lines
2.7 KiB
C#
using System;
|
|
using System.Configuration.Provider;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Acts as a base class for deriving custom settings providers in the application settings architecture.</summary>
|
|
// Token: 0x02000385 RID: 901
|
|
[Token(Token = "0x2000385")]
|
|
public abstract class SettingsProvider : ProviderBase
|
|
{
|
|
/// <summary>Initializes an instance of the <see cref="T:System.Configuration.SettingsProvider" /> class.</summary>
|
|
// Token: 0x060017CA RID: 6090 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60017CA")]
|
|
[Address(RVA = "0x28AD220", Offset = "0x28AC020", VA = "0x1828AD220")]
|
|
protected SettingsProvider()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the name of the currently running application.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the application's shortened name, which does not contain a full path or extension, for example, <c>SimpleAppSettings</c>.</returns>
|
|
// Token: 0x17000512 RID: 1298
|
|
// (get) Token: 0x060017CB RID: 6091
|
|
// (set) Token: 0x060017CC RID: 6092
|
|
[Token(Token = "0x17000512")]
|
|
public abstract string ApplicationName
|
|
{
|
|
[Token(Token = "0x60017CB")]
|
|
[Address(Slot = "5")]
|
|
get;
|
|
[Token(Token = "0x60017CC")]
|
|
[Address(Slot = "6")]
|
|
set;
|
|
}
|
|
|
|
/// <summary>Returns the collection of settings 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 use.</param>
|
|
/// <param name="collection">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>
|
|
// Token: 0x060017CD RID: 6093
|
|
[Token(Token = "0x60017CD")]
|
|
[Address(Slot = "7")]
|
|
public abstract SettingsPropertyValueCollection GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection);
|
|
|
|
/// <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="collection">A <see cref="T:System.Configuration.SettingsPropertyValueCollection" /> representing the group of property settings to set.</param>
|
|
// Token: 0x060017CE RID: 6094
|
|
[Token(Token = "0x60017CE")]
|
|
[Address(Slot = "8")]
|
|
public abstract void SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection);
|
|
}
|
|
}
|