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
- ConnectionManagementElement.cs
- CachedPathData.cs
- AppDomainProtocolHandler.cs
- FontStyleConverter.cs
- ObjectStorage.cs
- Pen.cs
- ListParagraph.cs
- StylusPointPropertyId.cs
- GenericTextProperties.cs
- StringBuilder.cs
- ConnectionProviderAttribute.cs
- DataGrid.cs
- SystemPens.cs
- _Semaphore.cs
- Viewport3DAutomationPeer.cs
- SortedSetDebugView.cs
- KnownTypesProvider.cs
- DescendentsWalker.cs
- StretchValidation.cs
- StaticFileHandler.cs
- QueryStatement.cs
- HwndSourceParameters.cs
- CollectionViewSource.cs
- TypeGenericEnumerableViewSchema.cs
- DataException.cs
- XmlComment.cs
- LogPolicy.cs
- InvalidProgramException.cs
- Speller.cs
- LoadedOrUnloadedOperation.cs
- XmlFormatExtensionPointAttribute.cs
- Renderer.cs
- Italic.cs
- UnsafeNativeMethods.cs
- ObjectResult.cs
- XmlLoader.cs
- ServiceBusyException.cs
- WindowsScrollBar.cs
- MailWebEventProvider.cs
- Thumb.cs
- GridLength.cs
- WebBrowserProgressChangedEventHandler.cs
- ToolStripItemCollection.cs
- FixedSOMTextRun.cs
- ImageField.cs
- CorrelationToken.cs
- DrawingAttributeSerializer.cs
- KeyEvent.cs
- PerformanceCounterPermissionAttribute.cs
- StylusPointPropertyId.cs
- BuilderInfo.cs
- XmlSchemaAnnotation.cs
- RequestedSignatureDialog.cs
- xmlformatgeneratorstatics.cs
- MSHTMLHost.cs
- TimerElapsedEvenArgs.cs
- DataGridRow.cs
- ItemList.cs
- AdapterUtil.cs
- BasicExpressionVisitor.cs
- UIElementParaClient.cs
- XmlDocumentFragment.cs
- StylusPointPropertyInfo.cs
- HuffmanTree.cs
- ToolStripSplitStackLayout.cs
- DisplayMemberTemplateSelector.cs
- TextElementEnumerator.cs
- FontClient.cs
- SqlCrossApplyToCrossJoin.cs
- SourceChangedEventArgs.cs
- AnnotationElement.cs
- OleDbParameter.cs
- AxisAngleRotation3D.cs
- Control.cs
- TextDpi.cs
- TransformDescriptor.cs
- CapabilitiesAssignment.cs
- BezierSegment.cs
- LabelAutomationPeer.cs
- ProbeDuplexCD1AsyncResult.cs
- InvalidateEvent.cs
- UserPreferenceChangingEventArgs.cs
- KeyProperty.cs
- SynchronousChannel.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- EDesignUtil.cs
- DataTablePropertyDescriptor.cs
- BindToObject.cs
- DBPropSet.cs
- IssuedTokenServiceCredential.cs
- FontFamily.cs
- activationcontext.cs
- SerTrace.cs
- CmsUtils.cs
- SamlAssertion.cs
- DefaultPrintController.cs
- LoginView.cs
- StaticDataManager.cs
- UnionCodeGroup.cs
- UInt16Storage.cs