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
- InputMethodStateChangeEventArgs.cs
- BamlTreeUpdater.cs
- CssStyleCollection.cs
- SqlBuilder.cs
- MultiBinding.cs
- WsatConfiguration.cs
- TextHidden.cs
- AnnotationHelper.cs
- PropertyGeneratedEventArgs.cs
- ScopelessEnumAttribute.cs
- WebSysDescriptionAttribute.cs
- PublisherIdentityPermission.cs
- ObjectCloneHelper.cs
- MenuEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- FilteredDataSetHelper.cs
- XmlSchemaExporter.cs
- AdornerLayer.cs
- backend.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ClonableStack.cs
- OracleMonthSpan.cs
- ResXResourceReader.cs
- LinearQuaternionKeyFrame.cs
- BoolLiteral.cs
- DragCompletedEventArgs.cs
- InstallerTypeAttribute.cs
- XmlSchemaAny.cs
- InputEventArgs.cs
- DateTimeConverter.cs
- WizardForm.cs
- KerberosSecurityTokenAuthenticator.cs
- RegionInfo.cs
- ObjectStateEntry.cs
- MessageQueueConverter.cs
- DefaultShape.cs
- CodeRemoveEventStatement.cs
- HyperLinkStyle.cs
- TrackingExtract.cs
- KeyInterop.cs
- TerminatorSinks.cs
- Grant.cs
- MulticastIPAddressInformationCollection.cs
- CultureInfoConverter.cs
- Common.cs
- DragStartedEventArgs.cs
- ScriptMethodAttribute.cs
- CodeSnippetExpression.cs
- HtmlPanelAdapter.cs
- ConfigurationSchemaErrors.cs
- DataSvcMapFileSerializer.cs
- IdentitySection.cs
- AssemblyBuilderData.cs
- DrawToolTipEventArgs.cs
- ColumnMapTranslator.cs
- Parallel.cs
- TableAutomationPeer.cs
- TreeNodeStyle.cs
- EndGetFileNameFromUserRequest.cs
- XmlAnyElementAttributes.cs
- GenericWebPart.cs
- WindowHideOrCloseTracker.cs
- HuffCodec.cs
- DataGridCommandEventArgs.cs
- XmlWrappingWriter.cs
- TraceContextRecord.cs
- MaterializeFromAtom.cs
- WindowsListViewGroupHelper.cs
- SqlDataSourceFilteringEventArgs.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- PriorityBindingExpression.cs
- LineServices.cs
- DbMetaDataCollectionNames.cs
- OleDbFactory.cs
- EntityViewContainer.cs
- BamlResourceContent.cs
- UIElement.cs
- KeyEventArgs.cs
- ToolStripSplitStackLayout.cs
- QuaternionAnimation.cs
- HttpPostClientProtocol.cs
- CodeSnippetTypeMember.cs
- RuntimeHelpers.cs
- RegistrySecurity.cs
- TypeSemantics.cs
- XmlBoundElement.cs
- TextSegment.cs
- TogglePattern.cs
- TextBoxBase.cs
- DrawingContextWalker.cs
- PreDigestedSignedInfo.cs
- FactoryGenerator.cs
- FormsAuthenticationTicket.cs
- StatusInfoItem.cs
- ExtensionFile.cs
- AuthorizationSection.cs
- TemplateField.cs
- TextPointer.cs
- ListItemCollection.cs
- SQLDoubleStorage.cs