Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ProtectedConfigurationProviderCollection.cs / 1 / ProtectedConfigurationProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; using System.Xml; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class ProtectedConfigurationProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProtectedConfigurationProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); } base.Add( provider ); } new public ProtectedConfigurationProvider this[string name] { get { return (ProtectedConfigurationProvider)base[name]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; using System.Xml; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class ProtectedConfigurationProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is ProtectedConfigurationProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(ProtectedConfigurationProvider).ToString()), "provider"); } base.Add( provider ); } new public ProtectedConfigurationProvider this[string name] { get { return (ProtectedConfigurationProvider)base[name]; } } } } // 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
- odbcmetadatacolumnnames.cs
- ThicknessKeyFrameCollection.cs
- DataRelation.cs
- Contracts.cs
- oledbmetadatacolumnnames.cs
- SafeViewOfFileHandle.cs
- ClientScriptManager.cs
- MediaPlayerState.cs
- XsltCompileContext.cs
- AsymmetricKeyExchangeDeformatter.cs
- XmlSchema.cs
- RecordManager.cs
- DefaultValueAttribute.cs
- HttpCapabilitiesSectionHandler.cs
- DateRangeEvent.cs
- ParentControlDesigner.cs
- MULTI_QI.cs
- ProxyHelper.cs
- TerminatorSinks.cs
- Tablet.cs
- NativeObjectSecurity.cs
- PopupRoot.cs
- DocumentViewerAutomationPeer.cs
- ParallelTimeline.cs
- InlineCollection.cs
- AccessibleObject.cs
- Hashtable.cs
- DropShadowBitmapEffect.cs
- HandlerBase.cs
- AnnotationResourceChangedEventArgs.cs
- XmlKeywords.cs
- SqlCacheDependencyDatabaseCollection.cs
- querybuilder.cs
- DesignerGenericWebPart.cs
- WebPartManagerInternals.cs
- StagingAreaInputItem.cs
- WindowsIPAddress.cs
- HeaderCollection.cs
- SchemaTypeEmitter.cs
- BindingCollection.cs
- NameValueConfigurationElement.cs
- RawStylusSystemGestureInputReport.cs
- ChangeBlockUndoRecord.cs
- GridView.cs
- ErrorLog.cs
- ControlBuilderAttribute.cs
- MarshalByRefObject.cs
- ButtonColumn.cs
- FrameworkContentElement.cs
- GeometryHitTestParameters.cs
- CompositeDataBoundControl.cs
- OdbcException.cs
- DataGridViewCellLinkedList.cs
- HtmlTableCellCollection.cs
- LocatorManager.cs
- MetadataArtifactLoaderComposite.cs
- UnsafeNativeMethods.cs
- AttributeAction.cs
- EntityCommandCompilationException.cs
- ContextMenuStripGroup.cs
- CodeMethodReturnStatement.cs
- GeneralTransform3DGroup.cs
- MachinePropertyVariants.cs
- XmlSchemaDocumentation.cs
- followingquery.cs
- Calendar.cs
- WindowInteractionStateTracker.cs
- DocumentPage.cs
- Transform3D.cs
- XamlReaderHelper.cs
- SortableBindingList.cs
- ObfuscationAttribute.cs
- WindowsRegion.cs
- PtsHelper.cs
- QueryContinueDragEventArgs.cs
- WebResourceAttribute.cs
- BinaryObjectWriter.cs
- LongAverageAggregationOperator.cs
- TdsParserSessionPool.cs
- WindowsFormsHostAutomationPeer.cs
- LowerCaseStringConverter.cs
- SignedXml.cs
- Vector3DKeyFrameCollection.cs
- WhiteSpaceTrimStringConverter.cs
- ReflectionPermission.cs
- ToolStripRendererSwitcher.cs
- StringValueSerializer.cs
- XmlAutoDetectWriter.cs
- WebPartEditVerb.cs
- PenThreadPool.cs
- OdbcConnectionPoolProviderInfo.cs
- ClientConfigPaths.cs
- SqlUDTStorage.cs
- TextEncodedRawTextWriter.cs
- SafeNativeMethods.cs
- Codec.cs
- SoapAttributeAttribute.cs
- CLSCompliantAttribute.cs
- ConfigurationStrings.cs
- NavigationPropertyEmitter.cs