Table of Contents

Constructor EnvironmentSettings

Namespace
Ploch.CommandLine.Spectre
Assembly
Ploch.CommandLine.Spectre.dll

EnvironmentSettings(bool, bool, IReadOnlyDictionary<string, string?>)

Describes the environment the console application is running in.

public EnvironmentSettings(bool isDebugging, bool pauseBeforeExit, IReadOnlyDictionary<string, string?> devRuntimeVariables)

Parameters

isDebugging bool

A value indicating whether the application is running under a debugger.

pauseBeforeExit bool

A value indicating whether the application should wait for input before exiting.

devRuntimeVariables IReadOnlyDictionary<string, string>

The development-time runtime variables available to the application.