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
- unsafenativemethodstextservices.cs
- ValidatingPropertiesEventArgs.cs
- DateTimeFormatInfoScanner.cs
- ToolStripMenuItem.cs
- TypedElement.cs
- WebPartUtil.cs
- FolderLevelBuildProvider.cs
- XamlPoint3DCollectionSerializer.cs
- MenuCommandService.cs
- EventLogPermissionAttribute.cs
- KnownTypeAttribute.cs
- Separator.cs
- NativeMethods.cs
- CallSiteHelpers.cs
- Deflater.cs
- CloseSequence.cs
- DataGridViewCellPaintingEventArgs.cs
- MailHeaderInfo.cs
- DataObjectSettingDataEventArgs.cs
- MessageQueuePermissionEntryCollection.cs
- TabletDeviceInfo.cs
- BinaryReader.cs
- ThreadStateException.cs
- AspNetSynchronizationContext.cs
- SendMailErrorEventArgs.cs
- DbResourceAllocator.cs
- ToolBar.cs
- xmlfixedPageInfo.cs
- ConnectionPoint.cs
- ContactManager.cs
- SendingRequestEventArgs.cs
- BamlTreeNode.cs
- ModelTypeConverter.cs
- BindingsCollection.cs
- SocketException.cs
- srgsitem.cs
- BitStack.cs
- ArgumentOutOfRangeException.cs
- TileBrush.cs
- BasicViewGenerator.cs
- Stream.cs
- Effect.cs
- MimeReflector.cs
- HostingEnvironmentWrapper.cs
- VideoDrawing.cs
- TraceContext.cs
- DataGridCommandEventArgs.cs
- SchemaMapping.cs
- TypeToken.cs
- ChangeBlockUndoRecord.cs
- DataColumnMappingCollection.cs
- LayoutSettings.cs
- MasterPageParser.cs
- NamespaceInfo.cs
- DataPagerFieldItem.cs
- PathFigure.cs
- ThicknessAnimation.cs
- MULTI_QI.cs
- ClientFormsIdentity.cs
- Animatable.cs
- FactoryMaker.cs
- Helper.cs
- ToolStripButton.cs
- TextModifier.cs
- AssociativeAggregationOperator.cs
- ParseHttpDate.cs
- ProfessionalColorTable.cs
- XamlTypeMapper.cs
- ViewEvent.cs
- _RequestLifetimeSetter.cs
- WebPartChrome.cs
- DecodeHelper.cs
- LocalFileSettingsProvider.cs
- CmsInterop.cs
- VideoDrawing.cs
- CheckBox.cs
- ToolStripRenderer.cs
- ArgIterator.cs
- WindowsRichEditRange.cs
- SamlAuthorizationDecisionStatement.cs
- SiteMapSection.cs
- AsymmetricSecurityProtocol.cs
- CodeIdentifier.cs
- DeploymentSection.cs
- Selection.cs
- ArgumentDirectionHelper.cs
- SqlOuterApplyReducer.cs
- AsmxEndpointPickerExtension.cs
- MinMaxParagraphWidth.cs
- IsolatedStorageException.cs
- DataGridViewCellConverter.cs
- GeneralEndpointIdentity.cs
- HtmlInputText.cs
- WindowsPrincipal.cs
- ListBoxItemAutomationPeer.cs
- WebPartTransformerCollection.cs
- XmlNodeReader.cs
- MetadataCache.cs
- ClientSettings.cs
- XmlCharType.cs