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
- ReachPageContentCollectionSerializerAsync.cs
- Or.cs
- AuthenticationModuleElement.cs
- ServiceNameElement.cs
- SettingsPropertyCollection.cs
- DragDeltaEventArgs.cs
- MediaPlayer.cs
- MonthChangedEventArgs.cs
- BufferBuilder.cs
- FigureHelper.cs
- Unit.cs
- EntityModelBuildProvider.cs
- AnimationClock.cs
- HashHelper.cs
- HandledEventArgs.cs
- WindowsStatic.cs
- TiffBitmapEncoder.cs
- WindowShowOrOpenTracker.cs
- DomainConstraint.cs
- NavigationWindowAutomationPeer.cs
- FrameDimension.cs
- DataGridBoundColumn.cs
- QuaternionAnimationBase.cs
- StylusPointProperty.cs
- SafeEventLogWriteHandle.cs
- VSWCFServiceContractGenerator.cs
- HttpModuleCollection.cs
- StylusPlugInCollection.cs
- LoadedOrUnloadedOperation.cs
- WindowsSecurityToken.cs
- Intellisense.cs
- SessionStateContainer.cs
- DefaultProxySection.cs
- TriggerBase.cs
- WindowsGraphics.cs
- SqlFileStream.cs
- OpenTypeCommon.cs
- HTMLTagNameToTypeMapper.cs
- _ShellExpression.cs
- ViewLoader.cs
- KnownIds.cs
- IISMapPath.cs
- GeometryDrawing.cs
- GenerateTemporaryTargetAssembly.cs
- listitem.cs
- TextureBrush.cs
- ListDictionary.cs
- ResourcesChangeInfo.cs
- StringResourceManager.cs
- ValidationError.cs
- FormViewDeletedEventArgs.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- RefreshPropertiesAttribute.cs
- AsyncStreamReader.cs
- OracleConnection.cs
- ToolStripDropDownClosingEventArgs.cs
- Italic.cs
- Nodes.cs
- ResXBuildProvider.cs
- ApplicationFileCodeDomTreeGenerator.cs
- X509SubjectKeyIdentifierClause.cs
- UserControl.cs
- ChtmlSelectionListAdapter.cs
- FileLoadException.cs
- ConstraintCollection.cs
- TemplateEditingService.cs
- _ListenerResponseStream.cs
- EmbeddedObject.cs
- ProtectedUri.cs
- RuleInfoComparer.cs
- XsdValidatingReader.cs
- CommandHelper.cs
- Debug.cs
- ViewRendering.cs
- HttpRawResponse.cs
- WindowsFormsSynchronizationContext.cs
- SpellerHighlightLayer.cs
- SystemIdentity.cs
- LOSFormatter.cs
- WebScriptMetadataFormatter.cs
- BulletDecorator.cs
- BrowsableAttribute.cs
- ServiceElementCollection.cs
- TextTreeUndoUnit.cs
- Fx.cs
- ExtensionSimplifierMarkupObject.cs
- WebPartChrome.cs
- Rotation3DAnimationUsingKeyFrames.cs
- CacheVirtualItemsEvent.cs
- SqlClientWrapperSmiStream.cs
- Material.cs
- SQLChars.cs
- ScrollBar.cs
- GridErrorDlg.cs
- PolygonHotSpot.cs
- GB18030Encoding.cs
- View.cs
- RegistrationServices.cs
- FileDialogPermission.cs
- DataTableClearEvent.cs