Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ProtectedConfigurationProviderCollection.cs / 1305376 / 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
- AuthenticationModuleElement.cs
- Rect3D.cs
- OleDbConnectionFactory.cs
- UIHelper.cs
- NativeMethods.cs
- XPathExpr.cs
- Transform.cs
- MemberNameValidator.cs
- ActivityTrace.cs
- CodeAttributeDeclaration.cs
- CompilationLock.cs
- FigureParaClient.cs
- EntityDataSourceDesigner.cs
- InitializationEventAttribute.cs
- ProtocolsConfiguration.cs
- SetterBase.cs
- WebPartsPersonalizationAuthorization.cs
- TimeoutValidationAttribute.cs
- DeviceOverridableAttribute.cs
- HuffCodec.cs
- ListControl.cs
- Authorization.cs
- UidPropertyAttribute.cs
- StringFreezingAttribute.cs
- XamlReader.cs
- IntSecurity.cs
- EventMetadata.cs
- RightsManagementSuppressedStream.cs
- PropertyGrid.cs
- BamlBinaryReader.cs
- DataColumn.cs
- Dictionary.cs
- SiteMapNode.cs
- WebRequestModulesSection.cs
- WebResourceAttribute.cs
- ResourcesGenerator.cs
- GridViewSortEventArgs.cs
- TextRunCacheImp.cs
- FunctionNode.cs
- QueryContinueDragEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- RequestCacheValidator.cs
- XmlSchemaInclude.cs
- SectionVisual.cs
- UserControl.cs
- AssertSection.cs
- AffineTransform3D.cs
- ClaimTypeRequirement.cs
- OrderedParallelQuery.cs
- Rotation3DAnimationBase.cs
- XmlDataProvider.cs
- StorageInfo.cs
- TextBoxView.cs
- BaseUriHelper.cs
- TypeUtils.cs
- SecurityException.cs
- StrokeSerializer.cs
- StorageRoot.cs
- PageAsyncTask.cs
- SystemIPInterfaceProperties.cs
- DataPointer.cs
- ServiceInstallComponent.cs
- StrokeNodeEnumerator.cs
- PermissionSet.cs
- ScrollPatternIdentifiers.cs
- DefaultTraceListener.cs
- PageThemeParser.cs
- GroupBoxRenderer.cs
- ControlAdapter.cs
- ContentElement.cs
- OneOf.cs
- CachedTypeface.cs
- InternalConfigEventArgs.cs
- WebReferencesBuildProvider.cs
- VSWCFServiceContractGenerator.cs
- SqlClientWrapperSmiStream.cs
- Scripts.cs
- NameTable.cs
- Double.cs
- EventlogProvider.cs
- PropertyFilter.cs
- XmlDocumentSurrogate.cs
- RequestCacheEntry.cs
- PropertyCollection.cs
- WriteTimeStream.cs
- IISUnsafeMethods.cs
- DataRowComparer.cs
- DesignBindingEditor.cs
- PointAnimation.cs
- RuleConditionDialog.cs
- WebPartConnectionsConnectVerb.cs
- ApplicationFileParser.cs
- XmlAttributeOverrides.cs
- OwnerDrawPropertyBag.cs
- EntityDataSourceWrapperCollection.cs
- RowVisual.cs
- TextParaLineResult.cs
- FunctionParameter.cs
- Trace.cs
- _NegoStream.cs