Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / Internal / ConfigurationManagerInternal.cs / 1305376 / 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
- StringConverter.cs
- RuntimeHandles.cs
- MatrixValueSerializer.cs
- WindowsFormsSynchronizationContext.cs
- DetailsViewModeEventArgs.cs
- LinqDataSourceView.cs
- DataRelation.cs
- XmlCharCheckingWriter.cs
- HealthMonitoringSectionHelper.cs
- Assert.cs
- StylusDownEventArgs.cs
- MetaForeignKeyColumn.cs
- ContractNamespaceAttribute.cs
- XmlSchemaProviderAttribute.cs
- RelationshipEnd.cs
- BuildResult.cs
- Transform3DCollection.cs
- SimpleApplicationHost.cs
- ColorMap.cs
- ProxyWebPartManagerDesigner.cs
- ToolStripRenderEventArgs.cs
- ObjectNavigationPropertyMapping.cs
- BamlLocalizableResource.cs
- EnvironmentPermission.cs
- GridView.cs
- QilChoice.cs
- SqlCacheDependencyDatabaseCollection.cs
- ReferentialConstraint.cs
- XmlStreamStore.cs
- ControlPropertyNameConverter.cs
- ParallelTimeline.cs
- DataContext.cs
- WebException.cs
- ThreadExceptionDialog.cs
- MemoryFailPoint.cs
- OdbcConnectionFactory.cs
- PresentationAppDomainManager.cs
- StackSpiller.Temps.cs
- SourceFileInfo.cs
- DrawingGroup.cs
- NamespaceEmitter.cs
- RecipientInfo.cs
- Win32.cs
- FormView.cs
- TextBoxRenderer.cs
- SchemaImporterExtensionElement.cs
- ActivitySurrogate.cs
- HttpRawResponse.cs
- MultipartContentParser.cs
- BatchServiceHost.cs
- XPathDocument.cs
- Int32Rect.cs
- FontFamily.cs
- CheckedPointers.cs
- TextServicesPropertyRanges.cs
- MetaTable.cs
- ReaderWriterLockWrapper.cs
- CommandID.cs
- ConsumerConnectionPoint.cs
- WindowsButton.cs
- ExpressionNormalizer.cs
- BrowserDefinitionCollection.cs
- SafeProcessHandle.cs
- UrlMappingsModule.cs
- objectresult_tresulttype.cs
- StylusButtonEventArgs.cs
- IsolatedStorageFileStream.cs
- SelectedPathEditor.cs
- XmlHelper.cs
- SystemIPv4InterfaceProperties.cs
- SqlComparer.cs
- SqlStatistics.cs
- UIPropertyMetadata.cs
- NativeMethods.cs
- querybuilder.cs
- SnapshotChangeTrackingStrategy.cs
- RegistrationServices.cs
- DataList.cs
- _TLSstream.cs
- DelegateSerializationHolder.cs
- SizeAnimationBase.cs
- InvokeSchedule.cs
- URLString.cs
- UnsafeNativeMethods.cs
- XmlNodeReader.cs
- KeyValueInternalCollection.cs
- XmlQueryTypeFactory.cs
- ResourceDescriptionAttribute.cs
- ChannelServices.cs
- FrameworkElement.cs
- ScriptingRoleServiceSection.cs
- WindowsBrush.cs
- MultilineStringConverter.cs
- Rotation3D.cs
- CodeDelegateCreateExpression.cs
- MobileUserControlDesigner.cs
- Tag.cs
- ImageButton.cs
- ControlIdConverter.cs
- ISAPIRuntime.cs