ProcessExitSettings¶
Settings for the process exit.
Properties¶
ProcessExitSettings Default¶
Default settings for the process exit.
ProcessExitSettings SilentExitOnSuccess¶
Settings for a silent exit on success.
ProcessExitSettings ManualExit¶
Settings to require user input to exit.
ProcessExitSettings AutomaticExit¶
Settings for automatic exit after a countdown.
bool ShowSuccessMessage¶
Show success message if the process exits successfully.
bool ShowFailedMessage¶
Show a failed message if the process exits with an error.
bool ShowSuggestHelp¶
Suggest help argument if the process exits with an error.
bool ForceExitCode0¶
Force the exit code to be 0 if the process exits with an error.
bool AutoExit¶
Automatically exit the application after completion without user input.
uint ExitCountdownSeconds¶
Countdown to automatically exit after completion.
Methods¶
ProcessExitSettings CreateAutomaticExit(uint countdownSeconds)¶
Settings for automatic exit after a countdown.
void SetInstance(ProcessExitSettings settings)¶
Sets the instance of the process exit settings.