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
- LocalClientSecuritySettingsElement.cs
- Assembly.cs
- XmlDataLoader.cs
- XPathDocumentBuilder.cs
- RuleSettings.cs
- Trace.cs
- ColorAnimation.cs
- TextElementAutomationPeer.cs
- BrushMappingModeValidation.cs
- X509Certificate2.cs
- ColorBlend.cs
- SafeFileHandle.cs
- CodeEntryPointMethod.cs
- DataGridAddNewRow.cs
- ImageSourceValueSerializer.cs
- OutputCacheModule.cs
- PopupRoot.cs
- SizeChangedInfo.cs
- TaiwanLunisolarCalendar.cs
- SuppressIldasmAttribute.cs
- UserMapPath.cs
- ReadingWritingEntityEventArgs.cs
- ToolStripHighContrastRenderer.cs
- Menu.cs
- IISUnsafeMethods.cs
- NullableBoolConverter.cs
- _FixedSizeReader.cs
- WorkflowValidationFailedException.cs
- FontUnit.cs
- TypeInformation.cs
- TreeView.cs
- PackageDigitalSignatureManager.cs
- GifBitmapEncoder.cs
- ConnectionPoolManager.cs
- LazyTextWriterCreator.cs
- BooleanAnimationUsingKeyFrames.cs
- odbcmetadatacolumnnames.cs
- DataControlPagerLinkButton.cs
- ManagementInstaller.cs
- ManagementQuery.cs
- PropertyGridEditorPart.cs
- SurrogateDataContract.cs
- PartialTrustHelpers.cs
- HttpResponseHeader.cs
- GenerateTemporaryAssemblyTask.cs
- unsafenativemethodstextservices.cs
- ValidationContext.cs
- InputChannelBinder.cs
- EventProviderWriter.cs
- SafeMILHandle.cs
- WaitHandle.cs
- XmlSerializerAssemblyAttribute.cs
- StateMachine.cs
- SafeNativeMethodsOther.cs
- Validator.cs
- DocumentPageViewAutomationPeer.cs
- HttpRuntime.cs
- Command.cs
- Documentation.cs
- LassoSelectionBehavior.cs
- WebPartCatalogAddVerb.cs
- Utils.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- regiisutil.cs
- SHA384.cs
- CodeDesigner.cs
- MasterPageCodeDomTreeGenerator.cs
- KeyConverter.cs
- OperationInfo.cs
- CancelAsyncOperationRequest.cs
- AdapterDictionary.cs
- DataGridTemplateColumn.cs
- MouseEventArgs.cs
- CallSiteHelpers.cs
- CodeIterationStatement.cs
- XmlSchemaFacet.cs
- XmlWriterTraceListener.cs
- SafeCancelMibChangeNotify.cs
- StringPropertyBuilder.cs
- IItemProperties.cs
- SessionPageStateSection.cs
- CompilerParameters.cs
- AlternateView.cs
- XmlChildEnumerator.cs
- WebResourceAttribute.cs
- BuildProvidersCompiler.cs
- Typeface.cs
- MsmqHostedTransportConfiguration.cs
- basevalidator.cs
- IconHelper.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CoreSwitches.cs
- PrintDialogException.cs
- CodeChecksumPragma.cs
- HtmlHistory.cs
- CultureMapper.cs
- DrawListViewSubItemEventArgs.cs
- SerializableAttribute.cs
- TickBar.cs
- HtmlButton.cs