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
- CalendarDataBindingHandler.cs
- WorkerRequest.cs
- DirectoryObjectSecurity.cs
- ExternalCalls.cs
- Facet.cs
- SizeAnimation.cs
- DataServiceClientException.cs
- UnhandledExceptionEventArgs.cs
- IPGlobalProperties.cs
- PlaceHolder.cs
- formatter.cs
- StatusBarItemAutomationPeer.cs
- StylusPointPropertyId.cs
- FontInfo.cs
- SplitterEvent.cs
- InternalResources.cs
- DynamicMethod.cs
- OperatingSystem.cs
- NullableLongMinMaxAggregationOperator.cs
- Misc.cs
- Parser.cs
- UserControlParser.cs
- HttpSocketManager.cs
- DtrList.cs
- ObjectTag.cs
- DbParameterCollectionHelper.cs
- NativeMethods.cs
- NotifyIcon.cs
- ListControl.cs
- uribuilder.cs
- PerfCounters.cs
- TypeSystem.cs
- BitArray.cs
- ToolboxComponentsCreatedEventArgs.cs
- ToolStripRenderer.cs
- Timeline.cs
- ManualWorkflowSchedulerService.cs
- X509Chain.cs
- MessageDecoder.cs
- MainMenu.cs
- FakeModelPropertyImpl.cs
- DtdParser.cs
- UseAttributeSetsAction.cs
- PropertyGroupDescription.cs
- ArithmeticException.cs
- BlockCollection.cs
- StructuredProperty.cs
- PolygonHotSpot.cs
- Viewport2DVisual3D.cs
- WebPartAuthorizationEventArgs.cs
- TimelineGroup.cs
- webeventbuffer.cs
- DecoderFallbackWithFailureFlag.cs
- BitmapEffectDrawing.cs
- AutomationIdentifier.cs
- HtmlContainerControl.cs
- AccessViolationException.cs
- TypefaceCollection.cs
- Scene3D.cs
- XmlNavigatorStack.cs
- ResourceReader.cs
- ToolboxItemAttribute.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- VisualStyleElement.cs
- TargetParameterCountException.cs
- IISMapPath.cs
- HtmlTableCellCollection.cs
- GridViewRowPresenterBase.cs
- _Events.cs
- RichTextBoxConstants.cs
- PageTheme.cs
- ConnectionsZone.cs
- DbConvert.cs
- QilInvokeEarlyBound.cs
- CompilationUnit.cs
- CategoryEditor.cs
- InputDevice.cs
- ProfileBuildProvider.cs
- LicenseManager.cs
- NativeMethods.cs
- UnionQueryOperator.cs
- XmlDocument.cs
- ValidatingPropertiesEventArgs.cs
- RoleGroupCollection.cs
- HostProtectionException.cs
- SqlBooleanizer.cs
- XmlSchemaDatatype.cs
- PieceDirectory.cs
- DirectoryObjectSecurity.cs
- HttpCapabilitiesBase.cs
- PathNode.cs
- CodeValidator.cs
- MemberAccessException.cs
- LassoHelper.cs
- AddInPipelineAttributes.cs
- WizardPanel.cs
- SqlConnectionString.cs
- ProxyHwnd.cs
- TraceFilter.cs
- While.cs