Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / ProtectedProviderSettings.cs / 1 / ProtectedProviderSettings.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
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];
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
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];
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextBoxDesigner.cs
- NetworkInformationException.cs
- Vector3DAnimation.cs
- RelatedImageListAttribute.cs
- ResourceProperty.cs
- PropertyGroupDescription.cs
- DesignSurfaceEvent.cs
- NegotiateStream.cs
- SapiRecoContext.cs
- ForeignKeyConstraint.cs
- DataExpression.cs
- EntityDataSourceUtil.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- DataProtection.cs
- Queue.cs
- DataSourceDesigner.cs
- UniformGrid.cs
- ExpandCollapseProviderWrapper.cs
- InfiniteTimeSpanConverter.cs
- GeneralTransform.cs
- StopStoryboard.cs
- TimeZoneNotFoundException.cs
- JobCollate.cs
- InfiniteIntConverter.cs
- DataGridViewHeaderCell.cs
- UnmanagedBitmapWrapper.cs
- InternalCache.cs
- TriggerBase.cs
- RubberbandSelector.cs
- DataTable.cs
- FontInfo.cs
- TerminatorSinks.cs
- _DigestClient.cs
- SQLDouble.cs
- EventInfo.cs
- SQLMembershipProvider.cs
- ConfigurationStrings.cs
- ToolboxDataAttribute.cs
- PriorityItem.cs
- WebServiceEndpoint.cs
- DataFieldConverter.cs
- CachedPathData.cs
- CharAnimationBase.cs
- BlurBitmapEffect.cs
- ColumnWidthChangedEvent.cs
- ButtonBase.cs
- SchemaElementLookUpTable.cs
- FontConverter.cs
- WorkflowServiceOperationListItem.cs
- ConstNode.cs
- SessionParameter.cs
- HttpPostedFileWrapper.cs
- SynchronizedInputHelper.cs
- MulticastIPAddressInformationCollection.cs
- DesignerActionListCollection.cs
- UnicastIPAddressInformationCollection.cs
- OdbcConnectionString.cs
- DocumentXPathNavigator.cs
- ObjectSet.cs
- NewExpression.cs
- EntityException.cs
- UIElementHelper.cs
- NestedContainer.cs
- WebServiceData.cs
- MimeTextImporter.cs
- MenuCommandsChangedEventArgs.cs
- ProcessRequestArgs.cs
- TraceProvider.cs
- GeneralTransform3DTo2DTo3D.cs
- GuidConverter.cs
- PersonalizableAttribute.cs
- OracleConnectionString.cs
- TextDecorationCollection.cs
- DbParameterHelper.cs
- panel.cs
- PropertyItemInternal.cs
- EncryptedPackage.cs
- ObjectDataSourceStatusEventArgs.cs
- XPathEmptyIterator.cs
- FormViewPagerRow.cs
- RepeaterItem.cs
- FileDataSourceCache.cs
- RequestCachePolicy.cs
- VirtualDirectoryMapping.cs
- ThreadStartException.cs
- DataListAutoFormat.cs
- DataSpaceManager.cs
- Point3DKeyFrameCollection.cs
- AspCompat.cs
- BinarySerializer.cs
- DefaultConfirmation.cs
- CodeAccessPermission.cs
- AdornerDecorator.cs
- HwndSource.cs
- QuotedPairReader.cs
- HierarchicalDataBoundControl.cs
- PolyLineSegment.cs
- SubclassTypeValidatorAttribute.cs
- GeometryModel3D.cs