Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ImageBrush.cs
- XmlNamespaceManager.cs
- ExpressionParser.cs
- EnlistmentTraceIdentifier.cs
- WindowsRichEditRange.cs
- ValidationHelpers.cs
- CodeMethodInvokeExpression.cs
- NegatedCellConstant.cs
- AsyncPostBackTrigger.cs
- TakeQueryOptionExpression.cs
- ImportedNamespaceContextItem.cs
- DefaultTextStoreTextComposition.cs
- ReadOnlyDataSourceView.cs
- EntityProviderServices.cs
- TraceUtility.cs
- SessionEndedEventArgs.cs
- LinqExpressionNormalizer.cs
- SqlMethodAttribute.cs
- Vector3DAnimation.cs
- BulletedListEventArgs.cs
- ThousandthOfEmRealPoints.cs
- EmptyElement.cs
- _BasicClient.cs
- SamlAuthorizationDecisionStatement.cs
- GlyphingCache.cs
- DetailsViewInsertedEventArgs.cs
- ImageDesigner.cs
- FolderLevelBuildProviderCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- PlainXmlWriter.cs
- ThreadStateException.cs
- TitleStyle.cs
- WebPartAuthorizationEventArgs.cs
- TextElementCollectionHelper.cs
- Scene3D.cs
- BufferManager.cs
- _Connection.cs
- TimelineCollection.cs
- Binding.cs
- MdImport.cs
- PrintDialogException.cs
- DockPatternIdentifiers.cs
- TableLayout.cs
- RectangleHotSpot.cs
- EntityDataSourceDataSelectionPanel.cs
- WhileDesigner.xaml.cs
- SessionPageStatePersister.cs
- WorkflowInstanceQuery.cs
- ArgIterator.cs
- EntityDataSource.cs
- DispatchWrapper.cs
- FixedBufferAttribute.cs
- ToolStripSeparatorRenderEventArgs.cs
- WebResourceUtil.cs
- DownloadProgressEventArgs.cs
- errorpatternmatcher.cs
- StringFreezingAttribute.cs
- PenCursorManager.cs
- XmlUtil.cs
- DataGridViewTextBoxCell.cs
- CriticalFinalizerObject.cs
- _LocalDataStore.cs
- StreamGeometryContext.cs
- SR.Designer.cs
- XmlSchemaComplexContentExtension.cs
- DataSourceXmlSerializer.cs
- RolePrincipal.cs
- GrabHandleGlyph.cs
- GroupQuery.cs
- ByeMessageCD1.cs
- WindowsSlider.cs
- SchemaSetCompiler.cs
- SharedPerformanceCounter.cs
- SafeFileHandle.cs
- PageThemeCodeDomTreeGenerator.cs
- DataGridComponentEditor.cs
- FileFormatException.cs
- FlowLayoutSettings.cs
- KeyNotFoundException.cs
- Schema.cs
- SqlInternalConnection.cs
- EventOpcode.cs
- PointConverter.cs
- ExpressionEditorAttribute.cs
- TextBoxLine.cs
- FunctionImportMapping.cs
- CompositeDataBoundControl.cs
- DocumentGrid.cs
- PropertyRecord.cs
- CharStorage.cs
- CodeTryCatchFinallyStatement.cs
- CryptoApi.cs
- TextBoxBase.cs
- CommandCollectionEditor.cs
- altserialization.cs
- SurrogateEncoder.cs
- OutputCacheProfileCollection.cs
- EntityContainerAssociationSet.cs
- MetadataPropertyCollection.cs
- PageCatalogPart.cs