File: System\Configuration\ExeContext.cs
Web Access
Project: src\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj (System.Configuration.ConfigurationManager)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Configuration
{
    public sealed class ExeContext
    {
        internal ExeContext(ConfigurationUserLevel userContext,
            string exePath)
        {
            UserLevel = userContext;
            ExePath = exePath;
        }
 
        // The ConfigurationUserLevel that we are running within.
        //
        // Note: ConfigurationUserLevel.None will be set for machine.config
        //       and the applicationconfig file.  Use IsMachineConfig in
        //       ConfigurationContext, to determine the difference.
        public ConfigurationUserLevel UserLevel { get; }
 
        public string ExePath { get; }
    }
}