-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ProtectedProviderSettings.cs
28 lines (23 loc) · 1.11 KB
/
ProtectedProviderSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Configuration
{
public class ProtectedProviderSettings : ConfigurationElement
{
private readonly ConfigurationProperty _propProviders =
new ConfigurationProperty(
name: null,
type: typeof(ProviderSettingsCollection),
defaultValue: null,
options: ConfigurationPropertyOptions.IsDefaultCollection);
private readonly ConfigurationPropertyCollection _properties;
public ProtectedProviderSettings()
{
// Property initialization
_properties = new ConfigurationPropertyCollection { _propProviders };
}
protected internal override ConfigurationPropertyCollection Properties => _properties;
[ConfigurationProperty("", IsDefaultCollection = true, Options = ConfigurationPropertyOptions.IsDefaultCollection)]
public ProviderSettingsCollection Providers => (ProviderSettingsCollection)base[_propProviders];
}
}