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
- BCryptHashAlgorithm.cs
- StackSpiller.Temps.cs
- LocationEnvironment.cs
- ECDsaCng.cs
- ParameterCollectionEditorForm.cs
- FileLogRecordEnumerator.cs
- ZipIOExtraField.cs
- FtpRequestCacheValidator.cs
- MissingManifestResourceException.cs
- Site.cs
- safelinkcollection.cs
- PolicyLevel.cs
- ConfigXmlAttribute.cs
- SerializerDescriptor.cs
- FloaterBaseParaClient.cs
- MessageBox.cs
- PageCodeDomTreeGenerator.cs
- HttpHostedTransportConfiguration.cs
- ProviderCollection.cs
- SessionSwitchEventArgs.cs
- ReflectionUtil.cs
- SamlAttributeStatement.cs
- XmlSchemaProviderAttribute.cs
- RijndaelManagedTransform.cs
- TransactionState.cs
- XmlDataDocument.cs
- TableLayoutStyleCollection.cs
- RelationshipConstraintValidator.cs
- HierarchicalDataBoundControl.cs
- ElementAtQueryOperator.cs
- DataGridDetailsPresenter.cs
- GridViewColumnCollection.cs
- EventHandlerList.cs
- ServerReliableChannelBinder.cs
- ItemChangedEventArgs.cs
- SafeNativeMethodsMilCoreApi.cs
- FastPropertyAccessor.cs
- ValidatorUtils.cs
- StorageMappingItemLoader.cs
- ListViewTableCell.cs
- XmlText.cs
- CompilationRelaxations.cs
- ISAPIRuntime.cs
- XmlWrappingReader.cs
- Itemizer.cs
- WorkflowPrinting.cs
- SchemaObjectWriter.cs
- GridErrorDlg.cs
- ObjectDataSourceStatusEventArgs.cs
- JobDuplex.cs
- ColumnTypeConverter.cs
- TextSelection.cs
- WorkflowRuntimeBehavior.cs
- XsltLoader.cs
- ButtonRenderer.cs
- LambdaCompiler.Unary.cs
- ColumnCollection.cs
- DataServices.cs
- IconEditor.cs
- ChangeTracker.cs
- FolderNameEditor.cs
- ScriptingSectionGroup.cs
- EmptyQuery.cs
- ProviderConnectionPoint.cs
- TemplateNameScope.cs
- ReaderWriterLockSlim.cs
- PartialCachingControl.cs
- DataSourceCollectionBase.cs
- ClientConfigurationHost.cs
- ProcessExitedException.cs
- XmlSchemaCompilationSettings.cs
- TraceRecord.cs
- RefreshEventArgs.cs
- TypeDescriptionProvider.cs
- ECDiffieHellmanCngPublicKey.cs
- XPathNavigatorReader.cs
- ServerReliableChannelBinder.cs
- EdmValidator.cs
- BackgroundFormatInfo.cs
- CodeLabeledStatement.cs
- TextViewElement.cs
- ApplicationManager.cs
- FilterQueryOptionExpression.cs
- NameNode.cs
- NumericUpDown.cs
- MediaEntryAttribute.cs
- KnownBoxes.cs
- altserialization.cs
- OleDragDropHandler.cs
- XmlDigitalSignatureProcessor.cs
- RenderTargetBitmap.cs
- LinqDataSourceInsertEventArgs.cs
- ThicknessAnimationBase.cs
- CriticalFinalizerObject.cs
- Subtree.cs
- SizeChangedInfo.cs
- COM2PictureConverter.cs
- ContextBase.cs
- MultiViewDesigner.cs
- MetadataCache.cs