Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / System / Configuration / SettingsProviderCollection.cs / 1 / SettingsProviderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Collections.Specialized; using System.Runtime.Serialization; using System.Configuration.Provider; //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public class SettingsProviderCollection : ProviderCollection { public override void Add(ProviderBase provider) { if( provider == null ) { throw new ArgumentNullException( "provider" ); } if( !( provider is SettingsProvider ) ) { throw new ArgumentException(SR.GetString(SR.Config_provider_must_implement_type, typeof(SettingsProvider).ToString()), "provider"); } base.Add( provider ); } new public SettingsProvider this[string name] { get { return (SettingsProvider) base[name]; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DashStyle.cs
- CodeMemberField.cs
- ViewStateModeByIdAttribute.cs
- StorageRoot.cs
- SafeCryptHandles.cs
- ExpressionList.cs
- StringAnimationUsingKeyFrames.cs
- RichTextBoxConstants.cs
- LinkUtilities.cs
- SurrogateEncoder.cs
- ProcessHostServerConfig.cs
- StagingAreaInputItem.cs
- XmlCollation.cs
- LinqTreeNodeEvaluator.cs
- WebPartZoneBase.cs
- InputMethod.cs
- BitmapPalette.cs
- assemblycache.cs
- TdsEnums.cs
- DataTemplateKey.cs
- HuffCodec.cs
- NetDataContractSerializer.cs
- SafeReversePInvokeHandle.cs
- TreeNodeBindingCollection.cs
- InputLanguageSource.cs
- Lazy.cs
- CustomBindingCollectionElement.cs
- EdmProperty.cs
- StateItem.cs
- LogicalMethodInfo.cs
- AudioDeviceOut.cs
- SimpleType.cs
- DataObjectSettingDataEventArgs.cs
- Grant.cs
- ChangeProcessor.cs
- BuildResult.cs
- PageStatePersister.cs
- HttpCacheVaryByContentEncodings.cs
- TableCellAutomationPeer.cs
- CatalogZoneBase.cs
- KeyedCollection.cs
- MultilineStringConverter.cs
- ToolboxService.cs
- ConfigXmlText.cs
- ProcessModelSection.cs
- MexBindingBindingCollectionElement.cs
- TagElement.cs
- SpellerStatusTable.cs
- MimeMapping.cs
- XmlBoundElement.cs
- HostedController.cs
- TransactionInterop.cs
- FolderLevelBuildProviderCollection.cs
- CodeParameterDeclarationExpression.cs
- AssertFilter.cs
- StatusBarPanelClickEvent.cs
- XamlFxTrace.cs
- ChainedAsyncResult.cs
- GridViewDeletedEventArgs.cs
- ListViewItemSelectionChangedEvent.cs
- CompilationUtil.cs
- hebrewshape.cs
- DataServiceQueryOfT.cs
- XmlSerializerSection.cs
- DataGridCellsPresenter.cs
- GroupBox.cs
- CompModSwitches.cs
- CapabilitiesSection.cs
- UnsafeCollabNativeMethods.cs
- PropertyChangeTracker.cs
- FileVersionInfo.cs
- OpCellTreeNode.cs
- NativeMethods.cs
- SettingsProviderCollection.cs
- ChtmlFormAdapter.cs
- RSACryptoServiceProvider.cs
- HttpModulesSection.cs
- TextMarkerSource.cs
- DBParameter.cs
- PreProcessor.cs
- AnnotationStore.cs
- AtlasWeb.Designer.cs
- XmlSchemaComplexContentExtension.cs
- ImageMap.cs
- SessionIDManager.cs
- MemberJoinTreeNode.cs
- Relationship.cs
- StorageBasedPackageProperties.cs
- MouseDevice.cs
- BookmarkOptionsHelper.cs
- ImageField.cs
- CompiledIdentityConstraint.cs
- TextServicesPropertyRanges.cs
- HtmlForm.cs
- PopupControlService.cs
- AvtEvent.cs
- XmlDocument.cs
- CachedTypeface.cs
- GenericsNotImplementedException.cs
- SerializerWriterEventHandlers.cs