Class EnvironmentSettings
- Namespace
- Ploch.CommandLine.Spectre
- Assembly
- Ploch.CommandLine.Spectre.dll
Describes the environment the console application is running in.
public class EnvironmentSettings
- Inheritance
-
EnvironmentSettings
- Inherited Members
Constructors
- EnvironmentSettings(bool, bool, IReadOnlyDictionary<string, string?>)
Describes the environment the console application is running in.
Properties
- Current
Gets or sets the current environment settings, loading them on first access via the configured loader.
- DevRuntimeVariables
Gets the development-time runtime variables available to the application.
- IsDebugging
Gets a value indicating whether the application is running under a debugger.
- PauseBeforeExit
Gets a value indicating whether the application should wait for input before exiting.
Methods
- Initialize(IEnvironmentSettingsLoader)
Replaces the loader used to populate Current. Call before Current is first read.