Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Site.cs
- DataServiceRequest.cs
- ValidationEventArgs.cs
- TextEffectCollection.cs
- Site.cs
- Viewport2DVisual3D.cs
- SchemaNotation.cs
- StructuralType.cs
- RectKeyFrameCollection.cs
- EditorZoneAutoFormat.cs
- AppDomain.cs
- TypeBuilder.cs
- MaskDescriptors.cs
- FileDetails.cs
- ReaderWriterLockSlim.cs
- MethodBuilder.cs
- ReturnType.cs
- WebPartDisplayMode.cs
- Stacktrace.cs
- HttpListenerContext.cs
- GroupItem.cs
- ButtonChrome.cs
- CellParaClient.cs
- DataBindingCollection.cs
- ToolStripStatusLabel.cs
- HitTestResult.cs
- SharedPerformanceCounter.cs
- ScrollBarRenderer.cs
- MetadataItemEmitter.cs
- RegexInterpreter.cs
- HwndStylusInputProvider.cs
- NativeWindow.cs
- DataGridCellAutomationPeer.cs
- ListControl.cs
- Int16Converter.cs
- ServiceHostFactory.cs
- SynchronizationLockException.cs
- DBSqlParserColumnCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- HtmlTableCell.cs
- Literal.cs
- PropertyMetadata.cs
- BaseConfigurationRecord.cs
- ItemsPanelTemplate.cs
- EventDescriptorCollection.cs
- ProviderSettingsCollection.cs
- BindableAttribute.cs
- HtmlUtf8RawTextWriter.cs
- ButtonBaseAutomationPeer.cs
- BackEase.cs
- DefaultParameterValueAttribute.cs
- XsltOutput.cs
- WebPartConnectionsCancelVerb.cs
- Facet.cs
- SymbolDocumentGenerator.cs
- WindowsListView.cs
- DataGridViewCellValueEventArgs.cs
- NotifyInputEventArgs.cs
- WindowsFormsHost.cs
- EntityDataSourceContextDisposingEventArgs.cs
- SoapFault.cs
- BinHexEncoder.cs
- TouchesCapturedWithinProperty.cs
- ToolStripContainerDesigner.cs
- SqlNode.cs
- CountAggregationOperator.cs
- GeneralTransform3D.cs
- ConditionCollection.cs
- ZipIOCentralDirectoryFileHeader.cs
- AssertHelper.cs
- DefaultAssemblyResolver.cs
- ComponentResourceKey.cs
- GeometryValueSerializer.cs
- MailHeaderInfo.cs
- SQLBinaryStorage.cs
- SatelliteContractVersionAttribute.cs
- DragEvent.cs
- TabControlAutomationPeer.cs
- SizeLimitedCache.cs
- CharacterShapingProperties.cs
- EndPoint.cs
- StateWorkerRequest.cs
- URI.cs
- ClientSideProviderDescription.cs
- FontUnit.cs
- ConstraintCollection.cs
- XmlAtomicValue.cs
- Function.cs
- TimeoutValidationAttribute.cs
- TextServicesPropertyRanges.cs
- AsyncPostBackTrigger.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- Mouse.cs
- SessionStateItemCollection.cs
- EntityStoreSchemaFilterEntry.cs
- As.cs
- Int16AnimationBase.cs
- Bidi.cs
- SchemaInfo.cs
- Internal.cs