Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / Internal / ConfigurationManagerHelper.cs / 1305376 / 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
- CustomValidator.cs
- OrderedParallelQuery.cs
- DataSetUtil.cs
- SecurityUtils.cs
- ConfigurationManager.cs
- CollectionsUtil.cs
- LocalizableResourceBuilder.cs
- MetadataItemCollectionFactory.cs
- Window.cs
- XDeferredAxisSource.cs
- HuffCodec.cs
- ToolTipService.cs
- ListViewGroup.cs
- LogSwitch.cs
- UInt64Converter.cs
- ModelPropertyImpl.cs
- DrawListViewColumnHeaderEventArgs.cs
- XmlAttributeCache.cs
- XmlExceptionHelper.cs
- JapaneseCalendar.cs
- BitmapCache.cs
- WhitespaceSignificantCollectionAttribute.cs
- StateRuntime.cs
- StylusDownEventArgs.cs
- OracleDateTime.cs
- CurrentChangingEventManager.cs
- TextBoxAutoCompleteSourceConverter.cs
- XomlCompilerError.cs
- StylusDownEventArgs.cs
- FocusWithinProperty.cs
- CreateUserErrorEventArgs.cs
- Reference.cs
- RemotingConfigParser.cs
- WizardStepBase.cs
- BaseConfigurationRecord.cs
- TextClipboardData.cs
- IsolatedStorageFileStream.cs
- ConfigurationStrings.cs
- SmtpMail.cs
- ScopelessEnumAttribute.cs
- TemplateBamlTreeBuilder.cs
- SourceInterpreter.cs
- LayoutManager.cs
- XPathDocumentBuilder.cs
- X509CertificateClaimSet.cs
- GenericUriParser.cs
- _SafeNetHandles.cs
- SafeArrayRankMismatchException.cs
- AssociationSet.cs
- ExpressionEvaluator.cs
- HttpCacheVaryByContentEncodings.cs
- UnsafeNativeMethods.cs
- LinqToSqlWrapper.cs
- DesignerPainter.cs
- CoreSwitches.cs
- InkPresenterAutomationPeer.cs
- IfElseDesigner.xaml.cs
- MethodExpr.cs
- WebHttpSecurityElement.cs
- XmlDataProvider.cs
- ToolStripPanelRenderEventArgs.cs
- XmlSerializationWriter.cs
- ExpressionDumper.cs
- RuntimeHelpers.cs
- TextChangedEventArgs.cs
- StorageRoot.cs
- DescriptionAttribute.cs
- LinqDataSourceValidationException.cs
- XmlNavigatorFilter.cs
- OracleParameter.cs
- Descriptor.cs
- MethodCallConverter.cs
- StylesEditorDialog.cs
- TextSerializer.cs
- RuntimeHandles.cs
- StreamingContext.cs
- AutoGeneratedFieldProperties.cs
- AddressHeaderCollection.cs
- ImageAttributes.cs
- FutureFactory.cs
- ReachPageContentSerializer.cs
- UpdatableGenericsFeature.cs
- DynamicValueConverter.cs
- Button.cs
- COM2Properties.cs
- Int64Storage.cs
- HtmlFormParameterReader.cs
- CanExpandCollapseAllConverter.cs
- FragmentNavigationEventArgs.cs
- CurrencyWrapper.cs
- GlobalizationSection.cs
- TextRenderer.cs
- WindowsFormsDesignerOptionService.cs
- RestHandlerFactory.cs
- WebPartEditorOkVerb.cs
- WebAdminConfigurationHelper.cs
- TypeUsageBuilder.cs
- Rect.cs
- Point4D.cs
- DefaultPrintController.cs