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
- SelfIssuedSamlTokenFactory.cs
- PageHandlerFactory.cs
- ResourceManagerWrapper.cs
- DateTimeSerializationSection.cs
- Monitor.cs
- CultureMapper.cs
- WindowsImpersonationContext.cs
- WebPartChrome.cs
- SemanticResolver.cs
- TrustLevelCollection.cs
- WindowsTitleBar.cs
- CheckBox.cs
- SignedPkcs7.cs
- DropShadowEffect.cs
- ScrollData.cs
- MetadataSection.cs
- JsonWriter.cs
- Rule.cs
- FontUnitConverter.cs
- IdentityReference.cs
- SqlLiftWhereClauses.cs
- ExpandCollapsePattern.cs
- WsdlImporterElementCollection.cs
- Transform3DGroup.cs
- RelationalExpressions.cs
- propertyentry.cs
- RuleEngine.cs
- WebRequestModulesSection.cs
- WorkflowServiceHost.cs
- CursorInteropHelper.cs
- LabelExpression.cs
- MessageQueuePermissionEntry.cs
- FtpCachePolicyElement.cs
- HttpCapabilitiesSectionHandler.cs
- SqlUDTStorage.cs
- PlanCompiler.cs
- ScrollChrome.cs
- DoubleLinkList.cs
- Accessors.cs
- NameSpaceEvent.cs
- ConsumerConnectionPoint.cs
- AQNBuilder.cs
- EdmEntityTypeAttribute.cs
- FontFaceLayoutInfo.cs
- KeyFrames.cs
- PostBackTrigger.cs
- baseaxisquery.cs
- XmlName.cs
- Int64.cs
- HttpCachePolicyWrapper.cs
- EntityObject.cs
- WriteTimeStream.cs
- Rect.cs
- Decimal.cs
- ObjectViewQueryResultData.cs
- DialogResultConverter.cs
- ObfuscationAttribute.cs
- _TimerThread.cs
- InputProcessorProfiles.cs
- SendMessageChannelCache.cs
- EventLogEntry.cs
- followingquery.cs
- GeometryGroup.cs
- OperationResponse.cs
- DomNameTable.cs
- Assert.cs
- EntityModelSchemaGenerator.cs
- OutputCacheProfileCollection.cs
- CodeTypeParameterCollection.cs
- ObjectViewListener.cs
- AppearanceEditorPart.cs
- SQLUtility.cs
- CalendarAutomationPeer.cs
- CompositeCollectionView.cs
- RectangleF.cs
- DataGridViewRowEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- SystemResourceKey.cs
- FillErrorEventArgs.cs
- TraceEventCache.cs
- XmlBinaryWriter.cs
- Rule.cs
- HwndSubclass.cs
- IdentityManager.cs
- GifBitmapDecoder.cs
- COM2TypeInfoProcessor.cs
- ValueUtilsSmi.cs
- ImageSource.cs
- RenameRuleObjectDialog.cs
- ChildrenQuery.cs
- UnsafeNativeMethods.cs
- _SSPISessionCache.cs
- XmlCompatibilityReader.cs
- COM2Enum.cs
- ZoneButton.cs
- TypedServiceChannelBuilder.cs
- AnimationClockResource.cs
- SelectionService.cs
- IISUnsafeMethods.cs
- DecimalStorage.cs