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
- DragAssistanceManager.cs
- OleStrCAMarshaler.cs
- StandardBindingImporter.cs
- DocumentEventArgs.cs
- CapabilitiesState.cs
- CodeDefaultValueExpression.cs
- PassportAuthenticationEventArgs.cs
- EntityContainerEntitySetDefiningQuery.cs
- FastPropertyAccessor.cs
- SecurityTimestamp.cs
- BindingSourceDesigner.cs
- ColorTransform.cs
- XmlSchemas.cs
- AnnotationHelper.cs
- XPathDocument.cs
- XmlQueryCardinality.cs
- ParentUndoUnit.cs
- JournalEntryListConverter.cs
- SessionIDManager.cs
- Internal.cs
- UIElementParagraph.cs
- DependencyPropertyValueSerializer.cs
- TreeNodeMouseHoverEvent.cs
- EntityDataSourceWrapper.cs
- BindingManagerDataErrorEventArgs.cs
- CommonObjectSecurity.cs
- ModuleConfigurationInfo.cs
- SynchronizedPool.cs
- ResourceProviderFactory.cs
- TrustManager.cs
- __ConsoleStream.cs
- AxisAngleRotation3D.cs
- SiteMapProvider.cs
- WindowsFormsHostAutomationPeer.cs
- TypedDataSetSchemaImporterExtension.cs
- CngUIPolicy.cs
- DataGridViewCellEventArgs.cs
- Drawing.cs
- DependencyPropertyValueSerializer.cs
- LicenseException.cs
- RelatedCurrencyManager.cs
- SecurityDocument.cs
- DeferredSelectedIndexReference.cs
- FileLoadException.cs
- EndpointConfigContainer.cs
- RuntimeConfig.cs
- BounceEase.cs
- EncryptedPackageFilter.cs
- BufferedReadStream.cs
- QueuePathEditor.cs
- DependencyObjectType.cs
- IisTraceWebEventProvider.cs
- StreamHelper.cs
- LogEntryHeaderv1Deserializer.cs
- XmlNotation.cs
- XPathItem.cs
- XmlAttributeCache.cs
- TextPointerBase.cs
- OutputCacheSettings.cs
- NonClientArea.cs
- COM2ExtendedUITypeEditor.cs
- OracleDateTime.cs
- HtmlObjectListAdapter.cs
- PageAsyncTask.cs
- InvokeProviderWrapper.cs
- PageSetupDialog.cs
- WorkflowInvoker.cs
- WindowsToolbarAsMenu.cs
- XmlWellformedWriterHelpers.cs
- EditorPartCollection.cs
- AnnotationHelper.cs
- Vector.cs
- KeyInterop.cs
- Table.cs
- InvokeProviderWrapper.cs
- DirectoryObjectSecurity.cs
- ItemsControl.cs
- InvokeBase.cs
- AppSettingsExpressionEditor.cs
- UIElement3D.cs
- CodeTypeParameterCollection.cs
- RegexMatchCollection.cs
- IResourceProvider.cs
- UnmanagedMemoryStreamWrapper.cs
- VariableQuery.cs
- CodeSnippetTypeMember.cs
- XsdCachingReader.cs
- DesignerHierarchicalDataSourceView.cs
- InvokeMemberBinder.cs
- HScrollProperties.cs
- IconConverter.cs
- PanelStyle.cs
- EventListenerClientSide.cs
- BinaryQueryOperator.cs
- StatusBarPanel.cs
- UnsafeNativeMethodsPenimc.cs
- StrongNameKeyPair.cs
- TemplateBindingExtensionConverter.cs
- BufferedReadStream.cs
- ToolTipAutomationPeer.cs