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
- EdmRelationshipRoleAttribute.cs
- SecurityElement.cs
- SystemFonts.cs
- GlobalizationAssembly.cs
- DataGridHeaderBorder.cs
- StoreItemCollection.Loader.cs
- ThreadStateException.cs
- InternalPermissions.cs
- GroupBox.cs
- FaultReason.cs
- ToolBarButton.cs
- CodeIterationStatement.cs
- ProgressBarHighlightConverter.cs
- SAPIEngineTypes.cs
- XmlSchemaSimpleType.cs
- SetState.cs
- ReadOnlyDataSource.cs
- RawStylusInputReport.cs
- BamlWriter.cs
- GeneralTransform3D.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DeflateStreamAsyncResult.cs
- TypeUtils.cs
- DuplicateWaitObjectException.cs
- ContainerVisual.cs
- InstancePersistenceException.cs
- InternalPermissions.cs
- SmiMetaData.cs
- ListViewItemMouseHoverEvent.cs
- DisplayMemberTemplateSelector.cs
- WebBrowser.cs
- LocalIdCollection.cs
- Parser.cs
- SymmetricKeyWrap.cs
- ThreadStaticAttribute.cs
- SmtpDigestAuthenticationModule.cs
- GraphicsContainer.cs
- DoWhileDesigner.xaml.cs
- StylusButton.cs
- GeneralTransform3DGroup.cs
- OutOfProcStateClientManager.cs
- QilTernary.cs
- UITypeEditor.cs
- WebPartTransformerCollection.cs
- BaseInfoTable.cs
- ReadOnlyHierarchicalDataSource.cs
- SourceFileBuildProvider.cs
- Font.cs
- GraphicsPath.cs
- UnmanagedBitmapWrapper.cs
- AsymmetricKeyExchangeDeformatter.cs
- TreeViewItemAutomationPeer.cs
- Rfc4050KeyFormatter.cs
- ApplicationId.cs
- ReflectionPermission.cs
- RSAProtectedConfigurationProvider.cs
- QilLiteral.cs
- Connection.cs
- PolicyException.cs
- ProgressiveCrcCalculatingStream.cs
- DataGridColumn.cs
- MatrixTransform3D.cs
- CommandLineParser.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- TextShapeableCharacters.cs
- RadioButtonFlatAdapter.cs
- EnterpriseServicesHelper.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- StylusDownEventArgs.cs
- ListViewItemMouseHoverEvent.cs
- InputLanguageEventArgs.cs
- StylusPointPropertyInfoDefaults.cs
- ThreadLocal.cs
- Quad.cs
- WorkflowApplicationException.cs
- BuiltInPermissionSets.cs
- Drawing.cs
- AccessedThroughPropertyAttribute.cs
- Permission.cs
- BaseAddressPrefixFilterElement.cs
- FromRequest.cs
- SequentialOutput.cs
- CommentEmitter.cs
- SafeSecurityHandles.cs
- RichTextBoxDesigner.cs
- CodeTryCatchFinallyStatement.cs
- TextFindEngine.cs
- HttpAsyncResult.cs
- Decimal.cs
- FacetDescriptionElement.cs
- XmlSchemaAttribute.cs
- AppDomainManager.cs
- HtmlMeta.cs
- ParserHooks.cs
- XmlAttributeOverrides.cs
- GacUtil.cs
- Byte.cs
- ReadOnlyDictionary.cs
- EntityViewGenerationConstants.cs
- processwaithandle.cs