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
- ConfigurationLocationCollection.cs
- Int32CollectionValueSerializer.cs
- DbProviderManifest.cs
- VsPropertyGrid.cs
- GeneralTransform3D.cs
- UpWmlPageAdapter.cs
- CultureMapper.cs
- __ComObject.cs
- EntityModelSchemaGenerator.cs
- XmlSchemaValidationException.cs
- JsonCollectionDataContract.cs
- TrackingConditionCollection.cs
- SystemIPGlobalProperties.cs
- Propagator.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- RegexCaptureCollection.cs
- CustomError.cs
- SimpleTextLine.cs
- StructuredTypeEmitter.cs
- FunctionParameter.cs
- AutomationIdentifier.cs
- TextEditorSpelling.cs
- Pair.cs
- ItemsPresenter.cs
- KeyedHashAlgorithm.cs
- MetafileHeader.cs
- Char.cs
- XPathBuilder.cs
- CounterCreationDataCollection.cs
- WorkflowLayouts.cs
- HelpEvent.cs
- ConfigurationSchemaErrors.cs
- CharacterBufferReference.cs
- QueryConverter.cs
- DataTableTypeConverter.cs
- ClientProxyGenerator.cs
- HMAC.cs
- TreeNodeStyleCollection.cs
- SqlNodeTypeOperators.cs
- WebResponse.cs
- SqlDataSource.cs
- JapaneseCalendar.cs
- RecordsAffectedEventArgs.cs
- InvalidCastException.cs
- RowCache.cs
- DNS.cs
- TopClause.cs
- InnerItemCollectionView.cs
- Pts.cs
- OracleConnectionFactory.cs
- BigInt.cs
- PenLineCapValidation.cs
- LinkDescriptor.cs
- MobileContainerDesigner.cs
- FontCollection.cs
- Int64Converter.cs
- GridViewColumnHeaderAutomationPeer.cs
- OdbcDataReader.cs
- UnsafeNativeMethods.cs
- Rule.cs
- ManifestSignatureInformation.cs
- ChannelSettingsElement.cs
- _Events.cs
- DataSourceHelper.cs
- X509LogoTypeExtension.cs
- _Semaphore.cs
- SignedPkcs7.cs
- HttpResponseInternalBase.cs
- XmlSchemaValidator.cs
- EventToken.cs
- BitmapEffectInput.cs
- MailWebEventProvider.cs
- FontClient.cs
- DiscoveryInnerClientAdhoc11.cs
- StylusPointCollection.cs
- ElementProxy.cs
- Point3DCollection.cs
- FormViewModeEventArgs.cs
- InkCanvasFeedbackAdorner.cs
- DataService.cs
- DataGridViewRowCancelEventArgs.cs
- PolyBezierSegmentFigureLogic.cs
- ContentElementAutomationPeer.cs
- LineInfo.cs
- BaseParser.cs
- WebPartExportVerb.cs
- XmlSchemaImport.cs
- ThemeDictionaryExtension.cs
- RelationalExpressions.cs
- wgx_render.cs
- PropertiesTab.cs
- ElementAction.cs
- SqlInfoMessageEvent.cs
- FontNameEditor.cs
- VersionedStream.cs
- PropertyTabChangedEvent.cs
- TextRenderer.cs
- CellPartitioner.cs
- SessionEndingCancelEventArgs.cs
- SqlLiftWhereClauses.cs