Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / Internal / ConfigurationManagerInternal.cs / 1 / ConfigurationManagerInternal.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration.Internal { using System.Configuration; internal sealed class ConfigurationManagerInternal : IConfigurationManagerInternal { // Created only through reflection private ConfigurationManagerInternal() { } bool IConfigurationManagerInternal.SupportsUserConfig { get { return ConfigurationManager.SupportsUserConfig; } } bool IConfigurationManagerInternal.SetConfigurationSystemInProgress { get { return ConfigurationManager.SetConfigurationSystemInProgress; } } string IConfigurationManagerInternal.MachineConfigPath { get { return ClientConfigurationHost.MachineConfigFilePath; } } string IConfigurationManagerInternal.ApplicationConfigUri { get { return ClientConfigPaths.Current.ApplicationConfigUri; } } string IConfigurationManagerInternal.ExeProductName { get { return ClientConfigPaths.Current.ProductName; } } string IConfigurationManagerInternal.ExeProductVersion { get { return ClientConfigPaths.Current.ProductVersion; } } string IConfigurationManagerInternal.ExeRoamingConfigDirectory { get { return ClientConfigPaths.Current.RoamingConfigDirectory; } } string IConfigurationManagerInternal.ExeRoamingConfigPath { get { return ClientConfigPaths.Current.RoamingConfigFilename; } } string IConfigurationManagerInternal.ExeLocalConfigDirectory { get { return ClientConfigPaths.Current.LocalConfigDirectory; } } string IConfigurationManagerInternal.ExeLocalConfigPath { get { return ClientConfigPaths.Current.LocalConfigFilename; } } string IConfigurationManagerInternal.UserConfigFilename { get { return ClientConfigPaths.UserConfigFilename; } } } } // 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; internal sealed class ConfigurationManagerInternal : IConfigurationManagerInternal { // Created only through reflection private ConfigurationManagerInternal() { } bool IConfigurationManagerInternal.SupportsUserConfig { get { return ConfigurationManager.SupportsUserConfig; } } bool IConfigurationManagerInternal.SetConfigurationSystemInProgress { get { return ConfigurationManager.SetConfigurationSystemInProgress; } } string IConfigurationManagerInternal.MachineConfigPath { get { return ClientConfigurationHost.MachineConfigFilePath; } } string IConfigurationManagerInternal.ApplicationConfigUri { get { return ClientConfigPaths.Current.ApplicationConfigUri; } } string IConfigurationManagerInternal.ExeProductName { get { return ClientConfigPaths.Current.ProductName; } } string IConfigurationManagerInternal.ExeProductVersion { get { return ClientConfigPaths.Current.ProductVersion; } } string IConfigurationManagerInternal.ExeRoamingConfigDirectory { get { return ClientConfigPaths.Current.RoamingConfigDirectory; } } string IConfigurationManagerInternal.ExeRoamingConfigPath { get { return ClientConfigPaths.Current.RoamingConfigFilename; } } string IConfigurationManagerInternal.ExeLocalConfigDirectory { get { return ClientConfigPaths.Current.LocalConfigDirectory; } } string IConfigurationManagerInternal.ExeLocalConfigPath { get { return ClientConfigPaths.Current.LocalConfigFilename; } } string IConfigurationManagerInternal.UserConfigFilename { get { return ClientConfigPaths.UserConfigFilename; } } } } // 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
- NestedContainer.cs
- _IPv6Address.cs
- SelectionItemProviderWrapper.cs
- XslTransform.cs
- GridView.cs
- EncodingStreamWrapper.cs
- SeparatorAutomationPeer.cs
- ContentValidator.cs
- StateValidator.cs
- BaseProcessor.cs
- AddValidationError.cs
- AsyncCodeActivity.cs
- XmlArrayItemAttributes.cs
- AutoResetEvent.cs
- ReferenceEqualityComparer.cs
- ToolStripStatusLabel.cs
- PropertyChangedEventManager.cs
- FillBehavior.cs
- RepeatBehaviorConverter.cs
- WeakReadOnlyCollection.cs
- StringValidatorAttribute.cs
- Pen.cs
- ImageSource.cs
- TypeValidationEventArgs.cs
- LoginCancelEventArgs.cs
- UnsafeNativeMethods.cs
- WMIGenerator.cs
- GZipDecoder.cs
- ContourSegment.cs
- ContextActivityUtils.cs
- ConnectionPointCookie.cs
- ConsoleTraceListener.cs
- AccessDataSource.cs
- MobileComponentEditorPage.cs
- FrameworkEventSource.cs
- CompiledXpathExpr.cs
- ImageSource.cs
- Socket.cs
- TranslateTransform.cs
- DirectoryNotFoundException.cs
- LeaseManager.cs
- OdbcError.cs
- SafeRightsManagementQueryHandle.cs
- Stack.cs
- StringWriter.cs
- PropertyBuilder.cs
- cache.cs
- TokenFactoryBase.cs
- AssemblyInfo.cs
- ErrorEventArgs.cs
- XmlNodeList.cs
- UIElement.cs
- Serializer.cs
- WebContext.cs
- StatusBarPanelClickEvent.cs
- MethodSignatureGenerator.cs
- AndAlso.cs
- AffineTransform3D.cs
- HttpRawResponse.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ValidateNames.cs
- ItemCollection.cs
- TaskExtensions.cs
- RenderDataDrawingContext.cs
- GroupItem.cs
- CaseCqlBlock.cs
- SafeViewOfFileHandle.cs
- SiteMapHierarchicalDataSourceView.cs
- ColumnWidthChangedEvent.cs
- CallTemplateAction.cs
- Trace.cs
- PartialList.cs
- PointHitTestParameters.cs
- DataGridViewDataConnection.cs
- DataTableClearEvent.cs
- ConnectionPoint.cs
- MultiView.cs
- Quad.cs
- WhileDesigner.cs
- NativeMethods.cs
- CodePropertyReferenceExpression.cs
- Cursor.cs
- AssemblyAttributes.cs
- CustomGrammar.cs
- PopupRoot.cs
- FieldNameLookup.cs
- SecurityElement.cs
- CommunicationException.cs
- DataGridViewColumn.cs
- Types.cs
- OpenTypeLayout.cs
- MessageEnumerator.cs
- SettingsSavedEventArgs.cs
- ServerProtocol.cs
- HttpUnhandledOperationInvoker.cs
- WpfKnownType.cs
- ACE.cs
- SafeRightsManagementSessionHandle.cs
- Stack.cs
- MaskedTextBox.cs