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
- URLString.cs
- PtsCache.cs
- ObjectHelper.cs
- SmiEventStream.cs
- QueryableFilterUserControl.cs
- shaperfactory.cs
- SafeCoTaskMem.cs
- objectquery_tresulttype.cs
- _AutoWebProxyScriptEngine.cs
- CompressionTransform.cs
- DbExpressionBuilder.cs
- SqlDesignerDataSourceView.cs
- _Events.cs
- DBSchemaRow.cs
- WindowsStatusBar.cs
- PrintControllerWithStatusDialog.cs
- TemplatedEditableDesignerRegion.cs
- CodeGen.cs
- SafeArrayTypeMismatchException.cs
- TreeViewEvent.cs
- InstanceHandleConflictException.cs
- WebPartDisplayModeEventArgs.cs
- InstancePersistenceCommandException.cs
- DataSysAttribute.cs
- RuleInfoComparer.cs
- AutomationPeer.cs
- DesignerOptionService.cs
- _ProxyChain.cs
- IgnoreFileBuildProvider.cs
- ClientReliableChannelBinder.cs
- EntityReference.cs
- JournalNavigationScope.cs
- ExpressionBindingCollection.cs
- Highlights.cs
- UIElementIsland.cs
- HtmlUtf8RawTextWriter.cs
- ReferencedType.cs
- Point3DKeyFrameCollection.cs
- Library.cs
- BamlWriter.cs
- Setter.cs
- Quaternion.cs
- CodeIndexerExpression.cs
- CodeSnippetCompileUnit.cs
- SystemBrushes.cs
- CacheSection.cs
- ViewGenerator.cs
- ComplexTypeEmitter.cs
- TransformCollection.cs
- OleDragDropHandler.cs
- SortExpressionBuilder.cs
- EntityCollection.cs
- CultureSpecificStringDictionary.cs
- X509Utils.cs
- InvalidBodyAccessException.cs
- Attributes.cs
- AssociationSetMetadata.cs
- DynamicRouteExpression.cs
- LongValidatorAttribute.cs
- ListViewGroupConverter.cs
- AggregateException.cs
- PrePostDescendentsWalker.cs
- GenericTextProperties.cs
- InternalException.cs
- GlyphShapingProperties.cs
- XmlSchemaAnnotation.cs
- FormViewPageEventArgs.cs
- RemotingSurrogateSelector.cs
- InfoCardKeyedHashAlgorithm.cs
- MatchNoneMessageFilter.cs
- CommentGlyph.cs
- BridgeDataRecord.cs
- parserscommon.cs
- AutomationPropertyInfo.cs
- AssertFilter.cs
- TextStore.cs
- StateElement.cs
- TdsEnums.cs
- TextTreeUndo.cs
- WebPermission.cs
- InstallerTypeAttribute.cs
- NativeCppClassAttribute.cs
- MulticastDelegate.cs
- ToolBarTray.cs
- TableLayoutSettings.cs
- AudioSignalProblemOccurredEventArgs.cs
- FileLogRecordHeader.cs
- XmlSchemaComplexContentRestriction.cs
- ThousandthOfEmRealDoubles.cs
- FlowPosition.cs
- XmlAttributeCollection.cs
- SecurityContext.cs
- ResourceProviderFactory.cs
- CryptoKeySecurity.cs
- Dynamic.cs
- CodeCatchClauseCollection.cs
- CallbackHandler.cs
- ISFTagAndGuidCache.cs
- HMACSHA1.cs
- Process.cs