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
- ToolStripRendererSwitcher.cs
- OleDbRowUpdatingEvent.cs
- ProjectionNode.cs
- GeometryCombineModeValidation.cs
- AuthorizationSection.cs
- WebPartActionVerb.cs
- Serializer.cs
- XmlTypeMapping.cs
- TypeConvertions.cs
- GeometryDrawing.cs
- CroppedBitmap.cs
- EntityDataSourceWrapper.cs
- SafeSecurityHelper.cs
- TextSelection.cs
- XPathDocumentIterator.cs
- ApplicationManager.cs
- RolePrincipal.cs
- AuthStoreRoleProvider.cs
- DataGridViewAdvancedBorderStyle.cs
- InputMethodStateChangeEventArgs.cs
- StorageAssociationSetMapping.cs
- EventToken.cs
- XmlILOptimizerVisitor.cs
- DeviceContexts.cs
- AnnotationAdorner.cs
- TypeSystemHelpers.cs
- IntAverageAggregationOperator.cs
- QueryStringParameter.cs
- WebPartConnectionCollection.cs
- ClockGroup.cs
- OraclePermission.cs
- EndOfStreamException.cs
- LayoutEvent.cs
- XamlStyleSerializer.cs
- ChannelManagerBase.cs
- PropertyConverter.cs
- Enlistment.cs
- ConfigXmlElement.cs
- PageParserFilter.cs
- InputReferenceExpression.cs
- Activation.cs
- QuotedPrintableStream.cs
- ResourceAssociationType.cs
- DependsOnAttribute.cs
- WmfPlaceableFileHeader.cs
- DataGridViewCellCancelEventArgs.cs
- DataRelationPropertyDescriptor.cs
- EnumerableValidator.cs
- GradientBrush.cs
- DateTimeValueSerializer.cs
- ResourceDefaultValueAttribute.cs
- documentsequencetextview.cs
- ManifestResourceInfo.cs
- Canvas.cs
- AvTraceFormat.cs
- BCLDebug.cs
- EntityDataSourceColumn.cs
- StyleBamlTreeBuilder.cs
- CommunicationObjectFaultedException.cs
- Stackframe.cs
- TextParaClient.cs
- ScriptHandlerFactory.cs
- Pair.cs
- ItemCheckEvent.cs
- FormViewPageEventArgs.cs
- httpapplicationstate.cs
- LayoutDump.cs
- TextElementCollection.cs
- ConnectionPointCookie.cs
- RemoteWebConfigurationHostStream.cs
- RadioButtonPopupAdapter.cs
- CookieHandler.cs
- BindingWorker.cs
- Canvas.cs
- CompositeDataBoundControl.cs
- PersonalizationStateInfoCollection.cs
- DecimalAnimation.cs
- CharEntityEncoderFallback.cs
- ResourceManager.cs
- SqlStatistics.cs
- ZipIOFileItemStream.cs
- HtmlTableCellCollection.cs
- Content.cs
- WebUtil.cs
- UnicodeEncoding.cs
- WebPartConnectionsCancelVerb.cs
- SystemIPGlobalProperties.cs
- DropShadowEffect.cs
- ModelItemImpl.cs
- MouseButton.cs
- ClusterRegistryConfigurationProvider.cs
- Matrix3DStack.cs
- DesignerSerializerAttribute.cs
- SafeEventHandle.cs
- ResolveMatchesMessageCD1.cs
- ListViewDataItem.cs
- FormsIdentity.cs
- DocumentXPathNavigator.cs
- ProxyGenerationError.cs
- EmbeddedMailObjectCollectionEditor.cs