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
- Action.cs
- LambdaCompiler.Unary.cs
- HttpCookie.cs
- CommunicationObjectFaultedException.cs
- BitmapDecoder.cs
- TableLayoutRowStyleCollection.cs
- TraceInternal.cs
- ConfigurationException.cs
- TextBox.cs
- UIElement3DAutomationPeer.cs
- DispatcherOperation.cs
- XmlMemberMapping.cs
- SystemIcmpV6Statistics.cs
- WindowsStatusBar.cs
- TableItemProviderWrapper.cs
- RNGCryptoServiceProvider.cs
- LinqDataSourceStatusEventArgs.cs
- IDQuery.cs
- X509LogoTypeExtension.cs
- XmlWrappingWriter.cs
- WmfPlaceableFileHeader.cs
- VectorCollection.cs
- DynamicControlParameter.cs
- Control.cs
- Matrix3DConverter.cs
- DataGridColumnHeadersPresenter.cs
- ValueTable.cs
- RNGCryptoServiceProvider.cs
- SpecularMaterial.cs
- PointConverter.cs
- ImageMapEventArgs.cs
- NullableLongSumAggregationOperator.cs
- WindowsBrush.cs
- SafeIUnknown.cs
- UnmanagedMemoryAccessor.cs
- SafeReversePInvokeHandle.cs
- SplineQuaternionKeyFrame.cs
- ServiceInfo.cs
- OuterGlowBitmapEffect.cs
- cookiecontainer.cs
- AssociationTypeEmitter.cs
- Vector3DKeyFrameCollection.cs
- Codec.cs
- TemplateBuilder.cs
- ExtentCqlBlock.cs
- Transform3DGroup.cs
- Token.cs
- HtmlShim.cs
- State.cs
- ListViewEditEventArgs.cs
- ExtendedPropertyInfo.cs
- LongValidatorAttribute.cs
- SoapExtensionStream.cs
- BooleanExpr.cs
- Form.cs
- cookie.cs
- AssemblyBuilderData.cs
- SharedPersonalizationStateInfo.cs
- Int16AnimationUsingKeyFrames.cs
- X509Chain.cs
- FontUnit.cs
- MsmqHostedTransportConfiguration.cs
- PropertyEmitterBase.cs
- SamlAssertionKeyIdentifierClause.cs
- UnmanagedMemoryStreamWrapper.cs
- SqlDataRecord.cs
- BitmapCache.cs
- RequestBringIntoViewEventArgs.cs
- SpeakProgressEventArgs.cs
- SAPIEngineTypes.cs
- EntitySetBase.cs
- EntitySetBaseCollection.cs
- OdbcHandle.cs
- MatchingStyle.cs
- uribuilder.cs
- VBIdentifierDesigner.xaml.cs
- SubclassTypeValidatorAttribute.cs
- SortedDictionary.cs
- DeobfuscatingStream.cs
- LassoHelper.cs
- ShaderEffect.cs
- SqlClientWrapperSmiStream.cs
- CrossSiteScriptingValidation.cs
- WinInetCache.cs
- MessageLoggingElement.cs
- TextElement.cs
- QuotedPrintableStream.cs
- LinqDataSourceDisposeEventArgs.cs
- Win32Exception.cs
- NavigationProperty.cs
- TdsParserHelperClasses.cs
- MarkupObject.cs
- CompositionTarget.cs
- UserPersonalizationStateInfo.cs
- FixedElement.cs
- UrlPath.cs
- StylusPointDescription.cs
- ColumnWidthChangingEvent.cs
- WebBrowserEvent.cs
- HealthMonitoringSection.cs