You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
This commit is contained in:
committed by
Jo Shields
parent
aa7da660d6
commit
c042cd0c52
45
external/referencesource/System.Configuration/System/Configuration/ProtectedProviderSettings.cs
vendored
Normal file
45
external/referencesource/System.Configuration/System/Configuration/ProtectedProviderSettings.cs
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <copyright file="ProtectedProviderSettings.cs" company="Microsoft">
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace System.Configuration
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using System.Globalization;
|
||||
|
||||
public class ProtectedProviderSettings : ConfigurationElement
|
||||
{
|
||||
private ConfigurationPropertyCollection _properties;
|
||||
private readonly ConfigurationProperty _propProviders =
|
||||
new ConfigurationProperty(null, typeof(ProviderSettingsCollection), null, ConfigurationPropertyOptions.IsDefaultCollection);
|
||||
|
||||
public ProtectedProviderSettings()
|
||||
{
|
||||
// Property initialization
|
||||
_properties = new ConfigurationPropertyCollection();
|
||||
_properties.Add(_propProviders);
|
||||
}
|
||||
|
||||
protected internal override ConfigurationPropertyCollection Properties
|
||||
{
|
||||
get
|
||||
{
|
||||
return _properties;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[ConfigurationProperty("", IsDefaultCollection = true, Options = ConfigurationPropertyOptions.IsDefaultCollection)]
|
||||
public ProviderSettingsCollection Providers
|
||||
{
|
||||
get
|
||||
{
|
||||
return (ProviderSettingsCollection)base[_propProviders];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user