50 lines
2.3 KiB
C#
50 lines
2.3 KiB
C#
using System;
|
|
using System.Collections.Specialized;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Provides runtime versions 1.0 and 1.1 support for reading configuration sections and common configuration settings.</summary>
|
|
// Token: 0x020003BA RID: 954
|
|
[Token(Token = "0x20003BA")]
|
|
public sealed class ConfigurationSettings
|
|
{
|
|
// Token: 0x0600193E RID: 6462 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600193E")]
|
|
[Address(RVA = "0x2F39C90", Offset = "0x2F38C90", VA = "0x182F39C90")]
|
|
internal ConfigurationSettings()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a read-only <see cref="T:System.Collections.Specialized.NameValueCollection" /> of the application settings section of the configuration file.</summary>
|
|
/// <returns>A read-only <see cref="T:System.Collections.Specialized.NameValueCollection" /> of the application settings section from the configuration file.</returns>
|
|
// Token: 0x170005A7 RID: 1447
|
|
// (get) Token: 0x0600193F RID: 6463 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170005A7")]
|
|
public static NameValueCollection AppSettings
|
|
{
|
|
[Token(Token = "0x600193F")]
|
|
[Address(RVA = "0x2F39CC0", Offset = "0x2F38CC0", VA = "0x182F39CC0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns the <see cref="T:System.Configuration.ConfigurationSection" /> object for the passed configuration section name and path.</summary>
|
|
/// <param name="sectionName">A configuration name and path, such as "system.net/settings".</param>
|
|
/// <returns>The <see cref="T:System.Configuration.ConfigurationSection" /> object for the passed configuration section name and path.
|
|
///
|
|
/// The <see cref="T:System.Configuration.ConfigurationSettings" /> class provides backward compatibility only. You should use the <see cref="T:System.Configuration.ConfigurationManager" /> class or <see cref="T:System.Web.Configuration.WebConfigurationManager" /> class instead.</returns>
|
|
/// <exception cref="T:System.Configuration.ConfigurationException">Unable to retrieve the requested section.</exception>
|
|
// Token: 0x06001940 RID: 6464 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001940")]
|
|
[Address(RVA = "0x2F39C60", Offset = "0x2F38C60", VA = "0x182F39C60")]
|
|
[Obsolete]
|
|
public static object GetConfig(string sectionName)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|