3 instantiations of Configuration
System.Configuration.ConfigurationManager (3)
System\Configuration\ClientConfigurationHost.cs (1)
485
Configuration configuration = new
Configuration
(null, typeof(ClientConfigurationHost), fileMap, exePath, configPath);
System\Configuration\Configuration.cs (1)
161
return new
Configuration
(locationSubPath, _typeConfigHost, _hostInitConfigurationParams);
System\Configuration\Internal\InternalConfigConfigurationFactory.cs (1)
14
return new
Configuration
(null, typeConfigHost, hostInitConfigurationParams);
63 references to Configuration
Microsoft.Build (10)
Definition\ToolsetConfigurationReader.cs (7)
33
private readonly Func<
Configuration
> _readApplicationConfiguration;
51
private static readonly Lazy<
Configuration
> s_configurationCache = new Lazy<
Configuration
>(ReadOpenMappedExeConfiguration);
69
internal ToolsetConfigurationReader(PropertyDictionary<ProjectPropertyInstance> environmentProperties, PropertyDictionary<ProjectPropertyInstance> globalProperties, Func<
Configuration
> readApplicationConfiguration)
134
Configuration
configuration = _readApplicationConfiguration();
261
private static
Configuration
ReadApplicationConfiguration()
266
private static
Configuration
ReadOpenMappedExeConfiguration()
ToolsetElement.cs (3)
29
private static
Configuration
s_configurationOfCachedSection;
31
internal static ToolsetConfigurationSection ReadToolsetConfigurationSection(
Configuration
configuration)
55
private static ToolsetConfigurationSection GetToolsetConfigurationSection(
Configuration
configuration)
Microsoft.Build.Engine.UnitTests (19)
Definition\ToolsetConfigurationReader_Tests.cs (18)
46
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
74
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
110
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
136
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
176
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
219
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
247
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
273
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
300
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
339
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
364
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
390
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
416
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
444
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
479
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
532
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
624
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
657
Configuration
config = ToolsetConfigurationReaderTestHelper.ReadApplicationConfigurationTest();
Definition\ToolsetConfigurationReaderTestHelper.cs (1)
66
internal static
Configuration
ReadApplicationConfigurationTest()
Microsoft.Build.Utilities.Core (3)
ToolsetElement.cs (3)
29
private static
Configuration
s_configurationOfCachedSection;
31
internal static ToolsetConfigurationSection ReadToolsetConfigurationSection(
Configuration
configuration)
55
private static ToolsetConfigurationSection GetToolsetConfigurationSection(
Configuration
configuration)
System.Configuration (1)
System.Configuration.cs (1)
9
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.
Configuration
))]
System.Configuration.ConfigurationManager (29)
System\Configuration\BaseConfigurationRecord.cs (1)
236
internal
Configuration
CurrentConfiguration => _configRoot.CurrentConfiguration;
System\Configuration\ClientConfigurationHost.cs (2)
426
internal static
Configuration
OpenExeConfiguration(ConfigurationFileMap fileMap, bool isMachine,
485
Configuration
configuration = new Configuration(null, typeof(ClientConfigurationHost), fileMap, exePath, configPath);
System\Configuration\ClientSettingsStore.cs (7)
27
private static
Configuration
GetUserConfig(bool isRoaming)
35
private static ClientSettingsSection GetConfigSection(
Configuration
config, string sectionName, bool declare)
57
private static void DeclareSection(
Configuration
config, string sectionName)
135
Configuration
config = ConfigurationManager.OpenMappedExeConfiguration(fileMap, userLevel);
161
Configuration
config = GetUserConfig(isRoaming);
179
Configuration
config = GetUserConfig(isRoaming);
281
internal static
Configuration
OpenExeConfiguration(ConfigurationUserLevel userLevel)
System\Configuration\Configuration.cs (1)
159
internal
Configuration
OpenLocationConfiguration(string locationSubPath)
System\Configuration\ConfigurationElement.cs (1)
227
public
Configuration
CurrentConfiguration => _configRecord?.CurrentConfiguration;
System\Configuration\ConfigurationLocation.cs (3)
8
private readonly
Configuration
_config;
10
internal ConfigurationLocation(
Configuration
config, string locationSubPath)
18
public
Configuration
OpenConfiguration()
System\Configuration\ConfigurationManager.cs (9)
169
public static
Configuration
OpenMachineConfiguration()
174
public static
Configuration
OpenMappedMachineConfiguration(ConfigurationFileMap fileMap)
179
public static
Configuration
OpenExeConfiguration(ConfigurationUserLevel userLevel)
184
public static
Configuration
OpenExeConfiguration(string exePath)
189
public static
Configuration
OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap,
195
public static
Configuration
OpenMappedExeConfiguration(ExeConfigurationFileMap fileMap,
201
private static
Configuration
OpenExeConfigurationImpl(ConfigurationFileMap fileMap, bool isMachine,
214
Configuration
config = ClientConfigurationHost.OpenExeConfiguration(fileMap, isMachine, userLevel, exePath);
222
private static void PreloadConfiguration(
Configuration
configuration)
System\Configuration\Internal\IInternalConfigConfigurationFactory.cs (1)
10
Configuration
Create(Type typeConfigHost, params object[] hostInitConfigurationParams);
System\Configuration\Internal\InternalConfigConfigurationFactory.cs (1)
10
Configuration
IInternalConfigConfigurationFactory.Create(
System\Configuration\Internal\InternalConfigRoot.cs (2)
25
internal InternalConfigRoot(
Configuration
currentConfiguration, UpdateConfigHost host)
37
internal
Configuration
CurrentConfiguration { get; }
System\Configuration\MgmtConfigurationRecord.cs (1)
285
internal ConfigurationLocationCollection GetLocationCollection(
Configuration
config)
System.Windows.Forms.Tests (1)
System\Windows\Forms\UserConfigDisposableFixture.cs (1)
22
var
configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);