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
- GridViewUpdateEventArgs.cs
- DataSourceCache.cs
- PropertyChangedEventManager.cs
- RegexInterpreter.cs
- ModelItemExtensions.cs
- DrawingImage.cs
- BackStopAuthenticationModule.cs
- Converter.cs
- SqlUtils.cs
- XmlElement.cs
- ServiceActivationException.cs
- precedingquery.cs
- EventLogPermission.cs
- RootBrowserWindow.cs
- MediaEntryAttribute.cs
- VisualStyleInformation.cs
- JavaScriptSerializer.cs
- LayoutInformation.cs
- ISAPIWorkerRequest.cs
- TypeBuilder.cs
- WebPartVerb.cs
- Compiler.cs
- ProvideValueServiceProvider.cs
- AnnotationMap.cs
- Material.cs
- BufferedStream.cs
- XmlnsDictionary.cs
- HyperLinkColumn.cs
- EndOfStreamException.cs
- PermissionListSet.cs
- TextCompositionEventArgs.cs
- UnSafeCharBuffer.cs
- SecureEnvironment.cs
- QfeChecker.cs
- RTLAwareMessageBox.cs
- TypeTypeConverter.cs
- AsymmetricSignatureDeformatter.cs
- _ListenerResponseStream.cs
- ExpressionBindings.cs
- EditBehavior.cs
- GestureRecognitionResult.cs
- DbModificationCommandTree.cs
- ItemCollectionEditor.cs
- SmtpLoginAuthenticationModule.cs
- WebPartsPersonalization.cs
- XmlSchemaExporter.cs
- DataGridItem.cs
- RootBuilder.cs
- XmlAnyAttributeAttribute.cs
- StyleSheetRefUrlEditor.cs
- filewebresponse.cs
- ToolStripRenderEventArgs.cs
- DelayedRegex.cs
- ZipIOCentralDirectoryBlock.cs
- ProxyWebPart.cs
- ToolStripItemCollection.cs
- SQLInt64Storage.cs
- StylusShape.cs
- XmlMembersMapping.cs
- Error.cs
- PagedDataSource.cs
- FormParameter.cs
- IMembershipProvider.cs
- HtmlForm.cs
- CodeParameterDeclarationExpressionCollection.cs
- DBPropSet.cs
- SqlStream.cs
- SiteIdentityPermission.cs
- ReceiveErrorHandling.cs
- FileDataSourceCache.cs
- DeclaredTypeElementCollection.cs
- FrameworkElementFactoryMarkupObject.cs
- CompositeDataBoundControl.cs
- ColorPalette.cs
- XamlPoint3DCollectionSerializer.cs
- AtlasWeb.Designer.cs
- ReplacementText.cs
- BooleanKeyFrameCollection.cs
- HtmlTextArea.cs
- HashHelper.cs
- StrongNameIdentityPermission.cs
- ThicknessAnimationUsingKeyFrames.cs
- TransactionChannelListener.cs
- LongValidatorAttribute.cs
- Polyline.cs
- Console.cs
- XmlDeclaration.cs
- OAVariantLib.cs
- OleDbConnectionFactory.cs
- AudienceUriMode.cs
- KeyedHashAlgorithm.cs
- PolicyDesigner.cs
- MatrixValueSerializer.cs
- ComponentChangedEvent.cs
- SecurityListenerSettingsLifetimeManager.cs
- RequestResizeEvent.cs
- DebuggerAttributes.cs
- SQLByteStorage.cs
- WeakEventManager.cs
- Rfc2898DeriveBytes.cs