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
- WorkflowApplicationIdleEventArgs.cs
- SecurityAppliedMessage.cs
- UrlUtility.cs
- XmlAttributeAttribute.cs
- QilXmlReader.cs
- ProfileGroupSettings.cs
- PassportAuthenticationEventArgs.cs
- StructuredTypeEmitter.cs
- ShutDownListener.cs
- FilteredDataSetHelper.cs
- SqlDataRecord.cs
- FixedElement.cs
- AttachedPropertyDescriptor.cs
- WebPartManager.cs
- OracleTransaction.cs
- ThousandthOfEmRealPoints.cs
- VersionConverter.cs
- SizeIndependentAnimationStorage.cs
- XamlToRtfParser.cs
- ProtocolsConfigurationHandler.cs
- ProjectionCamera.cs
- DoubleAnimation.cs
- DbExpressionVisitor.cs
- SecUtil.cs
- SchemaNotation.cs
- XmlLangPropertyAttribute.cs
- ConfigurationStrings.cs
- InkCanvasSelectionAdorner.cs
- DaylightTime.cs
- WebZone.cs
- PageContentAsyncResult.cs
- LinkButton.cs
- Exceptions.cs
- ProxyGenerationError.cs
- FixedElement.cs
- AddToCollection.cs
- TableLayoutPanelCellPosition.cs
- SafeNativeMemoryHandle.cs
- NamespaceImport.cs
- TypedTableHandler.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- EntityClientCacheKey.cs
- ApplicationTrust.cs
- AttributeCollection.cs
- ScrollItemProviderWrapper.cs
- ContainerFilterService.cs
- FileClassifier.cs
- WebPartTransformerAttribute.cs
- SrgsRulesCollection.cs
- PropertyStore.cs
- Config.cs
- PassportAuthenticationEventArgs.cs
- MatrixStack.cs
- VirtualPath.cs
- GridViewSortEventArgs.cs
- InputLanguageCollection.cs
- ThaiBuddhistCalendar.cs
- FontFamily.cs
- TypefaceMap.cs
- DataKey.cs
- HuffCodec.cs
- MimeMapping.cs
- XmlSerializableWriter.cs
- EmptyImpersonationContext.cs
- PresentationAppDomainManager.cs
- odbcmetadatacolumnnames.cs
- ToolboxDataAttribute.cs
- LineUtil.cs
- QueryHandler.cs
- SystemResourceKey.cs
- EdmPropertyAttribute.cs
- TransformerConfigurationWizardBase.cs
- ApplicationHost.cs
- AlternateView.cs
- SkipQueryOptionExpression.cs
- nulltextcontainer.cs
- StorageScalarPropertyMapping.cs
- MenuItemStyleCollection.cs
- XslCompiledTransform.cs
- AdornerHitTestResult.cs
- Profiler.cs
- EventDrivenDesigner.cs
- Polyline.cs
- ParallelEnumerable.cs
- EntityDesignerDataSourceView.cs
- XhtmlBasicSelectionListAdapter.cs
- DataViewSetting.cs
- SizeValueSerializer.cs
- SymmetricAlgorithm.cs
- TabControlAutomationPeer.cs
- AuthenticateEventArgs.cs
- ExpressionLink.cs
- FontEditor.cs
- ClientUIRequest.cs
- CodeObjectCreateExpression.cs
- DataGridViewRowsRemovedEventArgs.cs
- TdsParserSessionPool.cs
- ResourceManager.cs
- Int32AnimationBase.cs
- XmlAtomicValue.cs