Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / System / Configuration / Internal / ConfigurationManagerHelper.cs / 1 / 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
- ValueTypeFixupInfo.cs
- SetterBase.cs
- Matrix3DStack.cs
- FormViewDeleteEventArgs.cs
- DynamicQueryableWrapper.cs
- MultiPartWriter.cs
- TemplateManager.cs
- XmlReflectionImporter.cs
- ServerValidateEventArgs.cs
- HashSetEqualityComparer.cs
- User.cs
- WsdlInspector.cs
- WebPartManager.cs
- PrintingPermission.cs
- DateTime.cs
- FaultConverter.cs
- XmlSchemaInclude.cs
- SafePEFileHandle.cs
- TemplateControlParser.cs
- AttachmentCollection.cs
- EncoderBestFitFallback.cs
- COM2PropertyBuilderUITypeEditor.cs
- ApplicationFileCodeDomTreeGenerator.cs
- CacheEntry.cs
- StructuralComparisons.cs
- CssTextWriter.cs
- BinaryWriter.cs
- XmlSchemaAny.cs
- ControlAdapter.cs
- BamlCollectionHolder.cs
- SelectionListDesigner.cs
- _DisconnectOverlappedAsyncResult.cs
- DigestTraceRecordHelper.cs
- TextBoxAutoCompleteSourceConverter.cs
- BigInt.cs
- HwndTarget.cs
- ButtonFlatAdapter.cs
- ConfigXmlCDataSection.cs
- XPathNavigator.cs
- CompiledAction.cs
- NetworkInformationException.cs
- ArrayList.cs
- WindowsScrollBar.cs
- TextChange.cs
- TemplateEditingVerb.cs
- EnumerableWrapperWeakToStrong.cs
- EmptyControlCollection.cs
- EdmSchemaError.cs
- Int32Storage.cs
- DataError.cs
- SpeakCompletedEventArgs.cs
- BuildManagerHost.cs
- PeerChannelFactory.cs
- GeometryModel3D.cs
- ConfigurationSettings.cs
- PropagatorResult.cs
- WorkflowOwnershipException.cs
- OracleBFile.cs
- GraphicsPath.cs
- StringFunctions.cs
- BodyGlyph.cs
- ExpandedWrapper.cs
- PhoneCallDesigner.cs
- CodeConstructor.cs
- FlowLayoutPanel.cs
- VirtualPathProvider.cs
- PopupRoot.cs
- HorizontalAlignConverter.cs
- TextBox.cs
- RoutingTable.cs
- OdbcTransaction.cs
- BindingWorker.cs
- DesignerOptionService.cs
- wgx_render.cs
- ConfigurationSectionCollection.cs
- ZipIOExtraField.cs
- SqlInfoMessageEvent.cs
- CodeDelegateInvokeExpression.cs
- ObjectReferenceStack.cs
- TableLayoutStyle.cs
- RequestValidator.cs
- EventLogPermissionEntry.cs
- Propagator.ExtentPlaceholderCreator.cs
- FrameworkReadOnlyPropertyMetadata.cs
- TextEditorMouse.cs
- BamlLocalizableResourceKey.cs
- DesignOnlyAttribute.cs
- SelectionRangeConverter.cs
- MultipartIdentifier.cs
- VisualTreeHelper.cs
- HMACSHA256.cs
- SystemNetworkInterface.cs
- Version.cs
- JsonWriterDelegator.cs
- SettingsAttributeDictionary.cs
- ItemCheckedEvent.cs
- ToolboxItem.cs
- TickBar.cs
- DoWorkEventArgs.cs
- GridViewRowEventArgs.cs