Files
2026-04-10 22:50:51 +02:00

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: 0x0200038A RID: 906
[Token(Token = "0x200038A")]
public class SettingsProviderCollection : ProviderCollection
{
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.SettingsProviderCollection" /> class.</summary>
// Token: 0x060017E9 RID: 6121 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60017E9")]
[Address(RVA = "0x28AD1C0", Offset = "0x28ABFC0", VA = "0x1828AD1C0")]
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: 0x1700051E RID: 1310
[Token(Token = "0x1700051E")]
public SettingsProvider this[string name]
{
[Token(Token = "0x60017EA")]
[Address(RVA = "0x28AD1F0", Offset = "0x28ABFF0", VA = "0x1828AD1F0")]
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: 0x060017EB RID: 6123 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60017EB")]
[Address(RVA = "0x28AD190", Offset = "0x28ABF90", VA = "0x1828AD190", Slot = "4")]
public override void Add(ProviderBase provider)
{
}
}
}