54 lines
2.7 KiB
C#
54 lines
2.7 KiB
C#
using System;
|
|
using System.Configuration.Provider;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Represents a collection of application settings providers.</summary>
|
|
// Token: 0x02000386 RID: 902
|
|
[Token(Token = "0x2000386")]
|
|
public class SettingsProviderCollection : ProviderCollection
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.SettingsProviderCollection" /> class.</summary>
|
|
// Token: 0x060017D2 RID: 6098 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60017D2")]
|
|
[Address(RVA = "0x2F47C70", Offset = "0x2F46C70", VA = "0x182F47C70")]
|
|
public SettingsProviderCollection()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the settings provider in the collection that matches the specified name.</summary>
|
|
/// <param name="name">A <see cref="T:System.String" /> containing the friendly name of the settings provider.</param>
|
|
/// <returns>If found, the <see cref="T:System.Configuration.SettingsProvider" /> whose name matches that specified by the name parameter; otherwise, <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only when setting this value.</exception>
|
|
// Token: 0x1700051A RID: 1306
|
|
[Token(Token = "0x1700051A")]
|
|
public SettingsProvider this[string name]
|
|
{
|
|
[Token(Token = "0x60017D3")]
|
|
[Address(RVA = "0x2F47CA0", Offset = "0x2F46CA0", VA = "0x182F47CA0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Adds a new settings provider to the collection.</summary>
|
|
/// <param name="provider">A <see cref="T:System.Configuration.Provider.ProviderBase" /> to add to the collection.</param>
|
|
/// <exception cref="T:System.ArgumentException">The <paramref name="provider" /> parameter is not of type <see cref="T:System.Configuration.SettingsProvider" />.
|
|
/// -or-
|
|
/// The <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> property of the provider parameter is null or an empty string.
|
|
/// -or-
|
|
/// A settings provider with the same <see cref="P:System.Configuration.Provider.ProviderBase.Name" /> already exists in the collection.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="provider" /> parameter is <see langword="null" />.</exception>
|
|
// Token: 0x060017D4 RID: 6100 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60017D4")]
|
|
[Address(RVA = "0x2F47C40", Offset = "0x2F46C40", VA = "0x182F47C40", Slot = "4")]
|
|
public override void Add(ProviderBase provider)
|
|
{
|
|
}
|
|
}
|
|
}
|