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
- ValueExpressions.cs
- ReadOnlyCollectionBase.cs
- UIPermission.cs
- RecordsAffectedEventArgs.cs
- SpellCheck.cs
- DataGridRow.cs
- GPStream.cs
- GridItemCollection.cs
- AssemblyInfo.cs
- CompleteWizardStep.cs
- PolicyVersion.cs
- OptimizedTemplateContent.cs
- Page.cs
- FileDialogPermission.cs
- DatePicker.cs
- httpapplicationstate.cs
- ExpressionVisitor.cs
- NetWebProxyFinder.cs
- StorageComplexTypeMapping.cs
- EmptyImpersonationContext.cs
- FormsAuthenticationTicket.cs
- WebPartConnectionsEventArgs.cs
- Separator.cs
- DataGridViewCellValueEventArgs.cs
- ImageDrawing.cs
- XmlSchemaResource.cs
- ChannelManagerService.cs
- DPTypeDescriptorContext.cs
- Point.cs
- PropertyEmitter.cs
- DocumentSequence.cs
- HighlightVisual.cs
- DesignerDataTable.cs
- Queue.cs
- HttpHandler.cs
- AnnotationComponentChooser.cs
- ToolStripItemImageRenderEventArgs.cs
- XmlSchemaElement.cs
- Metafile.cs
- ObjectContextServiceProvider.cs
- RowType.cs
- DataSourceCacheDurationConverter.cs
- SupportingTokenDuplexChannel.cs
- CodeCompiler.cs
- SelectionBorderGlyph.cs
- PropertyChangeTracker.cs
- ReferentialConstraint.cs
- StateValidator.cs
- FormatConvertedBitmap.cs
- SmiConnection.cs
- ConfigurationManagerInternalFactory.cs
- DetailsViewInsertEventArgs.cs
- CommandID.cs
- DbConnectionStringBuilder.cs
- HttpException.cs
- ModelProperty.cs
- ADMembershipProvider.cs
- Math.cs
- InteropExecutor.cs
- DecoderReplacementFallback.cs
- ProcessThreadCollection.cs
- BitmapDecoder.cs
- FocusTracker.cs
- UniqueID.cs
- TypeUtils.cs
- DiscreteKeyFrames.cs
- NCryptNative.cs
- FileVersionInfo.cs
- PropertyMetadata.cs
- PageWrapper.cs
- XmlWrappingReader.cs
- ProfileSettingsCollection.cs
- COM2Enum.cs
- CancellationScope.cs
- ButtonPopupAdapter.cs
- ReliableChannelBinder.cs
- EditorPartChrome.cs
- GridViewAutomationPeer.cs
- WebUtil.cs
- StylusPointPropertyInfo.cs
- AutomationPropertyInfo.cs
- WebBrowser.cs
- Util.cs
- XmlSerializerNamespaces.cs
- ItemCheckedEvent.cs
- SapiRecognizer.cs
- SQLInt64.cs
- HandlerMappingMemo.cs
- ToolStripItem.cs
- HostingEnvironmentSection.cs
- Style.cs
- DataGridToolTip.cs
- Activity.cs
- LineSegment.cs
- MailAddress.cs
- FormCollection.cs
- DataSourceControlBuilder.cs
- ProfileModule.cs
- StringArrayConverter.cs
- SqlBooleanizer.cs