Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / Internal / ConfigurationManagerHelper.cs / 1305376 / ConfigurationManagerHelper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration.Internal { using System.Configuration; [ // FXCOP: The correct fix would be to make this class static. // But a class can't be static and sealed at the same time. System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses") ] internal sealed class ConfigurationManagerHelper : IConfigurationManagerHelper { // Created only through reflection. private ConfigurationManagerHelper() { } void IConfigurationManagerHelper.EnsureNetConfigLoaded() { System.Net.Configuration.SettingsSection.EnsureConfigLoaded(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration.Internal { using System.Configuration; [ // FXCOP: The correct fix would be to make this class static. // But a class can't be static and sealed at the same time. System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses") ] internal sealed class ConfigurationManagerHelper : IConfigurationManagerHelper { // Created only through reflection. private ConfigurationManagerHelper() { } void IConfigurationManagerHelper.EnsureNetConfigLoaded() { System.Net.Configuration.SettingsSection.EnsureConfigLoaded(); } } } // 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
- Application.cs
- KeyValuePair.cs
- SystemDiagnosticsSection.cs
- PropertyEmitterBase.cs
- Parallel.cs
- AppDomainProtocolHandler.cs
- SchemaImporterExtensionElement.cs
- Table.cs
- util.cs
- Model3DGroup.cs
- OrthographicCamera.cs
- PropertyTab.cs
- DataStreamFromComStream.cs
- PagesSection.cs
- BitmapSource.cs
- PixelFormat.cs
- BindingManagerDataErrorEventArgs.cs
- CellParagraph.cs
- SchemaDeclBase.cs
- SignedXml.cs
- FlowLayoutPanel.cs
- TraceSource.cs
- GenericRootAutomationPeer.cs
- EnumValidator.cs
- TypeForwardedToAttribute.cs
- DataBindingCollection.cs
- DocumentGridContextMenu.cs
- SiteMapNodeItem.cs
- CreateRefExpr.cs
- OuterGlowBitmapEffect.cs
- ListCollectionView.cs
- SystemNetHelpers.cs
- PathSegmentCollection.cs
- ElementFactory.cs
- RtType.cs
- ADMembershipUser.cs
- FamilyMap.cs
- SelectorItemAutomationPeer.cs
- XmlMemberMapping.cs
- AuthenticationService.cs
- IDReferencePropertyAttribute.cs
- SafeNativeMethods.cs
- CompilerGlobalScopeAttribute.cs
- FileDialog.cs
- IisTraceListener.cs
- WarningException.cs
- _PooledStream.cs
- UInt64Storage.cs
- PropertyDescriptors.cs
- CqlErrorHelper.cs
- EnumConverter.cs
- ChannelToken.cs
- CodeVariableReferenceExpression.cs
- _TLSstream.cs
- XmlDigitalSignatureProcessor.cs
- NonSerializedAttribute.cs
- ThreadPool.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SessionParameter.cs
- ExpressionReplacer.cs
- HttpApplication.cs
- SerializationObjectManager.cs
- Parameter.cs
- Util.cs
- TimeIntervalCollection.cs
- IndependentlyAnimatedPropertyMetadata.cs
- WebPartConnectionsCancelVerb.cs
- WebPartsPersonalization.cs
- DataGridColumn.cs
- FilterElement.cs
- TypeUsageBuilder.cs
- StoreAnnotationsMap.cs
- GenericIdentity.cs
- StylusDevice.cs
- WorkflowTimerService.cs
- DbConnectionPoolGroupProviderInfo.cs
- FormatSettings.cs
- SynchronizingStream.cs
- BaseServiceProvider.cs
- OutputCacheProfileCollection.cs
- recordstatefactory.cs
- XmlDataLoader.cs
- PathData.cs
- SqlDesignerDataSourceView.cs
- HttpRawResponse.cs
- OutputCacheSection.cs
- DataGridCellInfo.cs
- ConnectionProviderAttribute.cs
- CommandHelpers.cs
- RelatedPropertyManager.cs
- SqlSupersetValidator.cs
- GroupBoxRenderer.cs
- GeneralTransform3DCollection.cs
- ResourceProperty.cs
- Set.cs
- WebServiceTypeData.cs
- _TimerThread.cs
- FormViewPagerRow.cs
- XpsSerializationManager.cs
- BooleanExpr.cs