Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrokeNodeOperations2.cs
- HttpListenerContext.cs
- Triplet.cs
- DigitalSignatureProvider.cs
- RequestContext.cs
- GeneralTransform3DGroup.cs
- IpcClientChannel.cs
- Descriptor.cs
- AbstractDataSvcMapFileLoader.cs
- LoadItemsEventArgs.cs
- GridToolTip.cs
- ImageBrush.cs
- SizeAnimationUsingKeyFrames.cs
- AutomationProperties.cs
- CompilerHelpers.cs
- RuntimeHandles.cs
- DataSourceSelectArguments.cs
- StyleHelper.cs
- ServiceModelActivationSectionGroup.cs
- RequestCacheValidator.cs
- TimeZoneNotFoundException.cs
- MarshalByValueComponent.cs
- SmiEventSink_DeferedProcessing.cs
- ToolBarOverflowPanel.cs
- XmlIncludeAttribute.cs
- XmlSignatureManifest.cs
- OutOfMemoryException.cs
- ObjectViewListener.cs
- TreeViewImageKeyConverter.cs
- AutoResetEvent.cs
- WebEventCodes.cs
- SEHException.cs
- FixedPageStructure.cs
- BufferModesCollection.cs
- SqlException.cs
- CodeIndexerExpression.cs
- CompensatableSequenceActivity.cs
- CodeTypeParameter.cs
- FeatureAttribute.cs
- FontUnitConverter.cs
- ControlEvent.cs
- TextServicesProperty.cs
- SQLBytesStorage.cs
- DescriptionCreator.cs
- EmptyStringExpandableObjectConverter.cs
- SpeechRecognizer.cs
- ModifyActivitiesPropertyDescriptor.cs
- TimeIntervalCollection.cs
- TableLayoutColumnStyleCollection.cs
- LoginUtil.cs
- DetailsViewRow.cs
- CheckBoxList.cs
- BasePropertyDescriptor.cs
- MetadataSerializer.cs
- AutoResetEvent.cs
- GridLength.cs
- ToolStripItem.cs
- DataObjectMethodAttribute.cs
- rsa.cs
- XamlSerializer.cs
- PathNode.cs
- Compiler.cs
- WindowsUpDown.cs
- XamlRtfConverter.cs
- LinearGradientBrush.cs
- RewritingValidator.cs
- ImageListStreamer.cs
- XmlWrappingWriter.cs
- Hash.cs
- SqlVisitor.cs
- RightsManagementPermission.cs
- PipeSecurity.cs
- SqlFunctions.cs
- Exceptions.cs
- ErrorHandler.cs
- ClientUrlResolverWrapper.cs
- MessageQueueEnumerator.cs
- ProxyHwnd.cs
- Int32Storage.cs
- Collection.cs
- SQLString.cs
- Pair.cs
- AuthorizationRule.cs
- LabelTarget.cs
- MediaCommands.cs
- DeclarationUpdate.cs
- MDIWindowDialog.cs
- TextBoxBaseDesigner.cs
- XmlParser.cs
- ParameterToken.cs
- SchemaTypeEmitter.cs
- RequestResizeEvent.cs
- tooltip.cs
- VisualProxy.cs
- DataColumnCollection.cs
- ChooseAction.cs
- PresentationAppDomainManager.cs
- CustomCategoryAttribute.cs
- ColumnResult.cs
- RowsCopiedEventArgs.cs