Code:
/ DotNET / DotNET / 8.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
- CommandBinding.cs
- GroupBox.cs
- ScrollEvent.cs
- RenameRuleObjectDialog.Designer.cs
- UnmanagedMemoryStream.cs
- Profiler.cs
- TextTreeRootNode.cs
- remotingproxy.cs
- MenuAdapter.cs
- PassportPrincipal.cs
- MDIWindowDialog.cs
- MultipartContentParser.cs
- AnnotationElement.cs
- XmlAttributeCache.cs
- FileAuthorizationModule.cs
- UnsafeNativeMethods.cs
- PlatformNotSupportedException.cs
- ArrayExtension.cs
- ObjectSecurity.cs
- HighContrastHelper.cs
- nulltextcontainer.cs
- RtfToken.cs
- OrderedHashRepartitionEnumerator.cs
- RelationshipSet.cs
- XPathItem.cs
- PackWebResponse.cs
- _SSPIWrapper.cs
- _DomainName.cs
- AuthStoreRoleProvider.cs
- CodeNamespaceImportCollection.cs
- DataControlCommands.cs
- ListControlBoundActionList.cs
- InteropAutomationProvider.cs
- Metafile.cs
- DataDocumentXPathNavigator.cs
- PageAsyncTask.cs
- PointUtil.cs
- StrongNamePublicKeyBlob.cs
- MarkupWriter.cs
- RowCache.cs
- SHA384Managed.cs
- SchemaElementDecl.cs
- ProfileSettingsCollection.cs
- PaperSize.cs
- FamilyMapCollection.cs
- DesignerCalendarAdapter.cs
- SymmetricAlgorithm.cs
- AtomContentProperty.cs
- NavigationEventArgs.cs
- DataSourceIDConverter.cs
- Enum.cs
- TemplateBamlTreeBuilder.cs
- PropertyReferenceSerializer.cs
- SecurityTokenProvider.cs
- AsyncStreamReader.cs
- Parser.cs
- GenericUI.cs
- InternalMappingException.cs
- ThaiBuddhistCalendar.cs
- Link.cs
- Visual.cs
- HtmlForm.cs
- SetStoryboardSpeedRatio.cs
- Control.cs
- IntSecurity.cs
- MethodToken.cs
- FontDifferentiator.cs
- AtomServiceDocumentSerializer.cs
- TaskHelper.cs
- _ServiceNameStore.cs
- SerializationStore.cs
- Int32CollectionConverter.cs
- ProviderUtil.cs
- GC.cs
- DPTypeDescriptorContext.cs
- BufferedGraphicsContext.cs
- QueryCacheEntry.cs
- QueueProcessor.cs
- GroupStyle.cs
- ListSortDescriptionCollection.cs
- HtmlMeta.cs
- QueryAsyncResult.cs
- DictionaryTraceRecord.cs
- AdapterDictionary.cs
- ApplicationInterop.cs
- ResourceProviderFactory.cs
- RequestSecurityTokenResponse.cs
- BufferAllocator.cs
- KeyConstraint.cs
- HttpWebResponse.cs
- BinHexEncoding.cs
- SynchronizationFilter.cs
- Script.cs
- CultureInfo.cs
- SafeUserTokenHandle.cs
- BrowserDefinitionCollection.cs
- DataSourceXmlTextReader.cs
- WindowsPrincipal.cs
- ToggleButtonAutomationPeer.cs
- DataGridViewCellStyle.cs