Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

84 lines
2.5 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="ConfigurationManagerInternal.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
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;
}
}
}
}