Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / SettingsProviderCollection.cs / 1305376 / 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]; } } } } // 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
- ComplexBindingPropertiesAttribute.cs
- SimpleMailWebEventProvider.cs
- DnsEndPoint.cs
- FacetValueContainer.cs
- SafeTimerHandle.cs
- MLangCodePageEncoding.cs
- EntityClientCacheKey.cs
- HtmlWindowCollection.cs
- CloseCollectionAsyncResult.cs
- FixedSOMPageElement.cs
- DotExpr.cs
- TypePropertyEditor.cs
- GradientStopCollection.cs
- LayoutTableCell.cs
- CodeCompileUnit.cs
- DataGridViewLayoutData.cs
- XmlUtf8RawTextWriter.cs
- BoolLiteral.cs
- ThreadPool.cs
- XmlDigitalSignatureProcessor.cs
- DynamicMethod.cs
- RubberbandSelector.cs
- TimeSpanValidatorAttribute.cs
- ConnectionPointCookie.cs
- HostingEnvironmentSection.cs
- IriParsingElement.cs
- ImageSource.cs
- EntityClassGenerator.cs
- ClientApiGenerator.cs
- TypeGeneratedEventArgs.cs
- GetIndexBinder.cs
- ProfileGroupSettingsCollection.cs
- _ConnectStream.cs
- QualificationDataAttribute.cs
- AttributeQuery.cs
- HtmlInputRadioButton.cs
- Baml2006ReaderFrame.cs
- ColorBlend.cs
- View.cs
- SymLanguageType.cs
- DataGridViewColumnHeaderCell.cs
- CapabilitiesPattern.cs
- SqlNodeAnnotations.cs
- Point3DAnimation.cs
- ValueChangedEventManager.cs
- ScriptHandlerFactory.cs
- XmlnsCompatibleWithAttribute.cs
- ItemAutomationPeer.cs
- ObjectHandle.cs
- MetadataFile.cs
- CultureSpecificStringDictionary.cs
- SafeFindHandle.cs
- NamedPipeChannelListener.cs
- RenamedEventArgs.cs
- CodeGenerator.cs
- RadioButton.cs
- EpmTargetTree.cs
- PriorityQueue.cs
- QuaternionValueSerializer.cs
- ResXBuildProvider.cs
- DigestTraceRecordHelper.cs
- ImpersonationContext.cs
- UserControl.cs
- Mappings.cs
- RegexRunner.cs
- DeploymentSectionCache.cs
- SqlFormatter.cs
- RegexCompiler.cs
- SessionConnectionReader.cs
- ApplicationHost.cs
- XmlSchemaAppInfo.cs
- MatrixAnimationUsingKeyFrames.cs
- BatchStream.cs
- AppDomain.cs
- DataGridAddNewRow.cs
- ellipse.cs
- ErrorReporting.cs
- TextRangeBase.cs
- ChangeTracker.cs
- DesignerAdapterAttribute.cs
- TPLETWProvider.cs
- XmlDataSource.cs
- webproxy.cs
- OrderedDictionary.cs
- SiteMapNodeItemEventArgs.cs
- FaultCode.cs
- PrintPreviewDialog.cs
- WebPartCloseVerb.cs
- SoundPlayer.cs
- ProcessMonitor.cs
- RtfToken.cs
- UnaryNode.cs
- SqlStream.cs
- MouseButton.cs
- ZipPackagePart.cs
- Query.cs
- LoadedOrUnloadedOperation.cs
- SafeMILHandle.cs
- SplitterPanelDesigner.cs
- InkSerializer.cs