ConsoleApp Constructor

Creates a new instance of the ConsoleApp class.

Definition

Namespace: Application.Helper
Assembly: Application.Helper (in Application.Helper.dll) Version: 2.0.5
C#
public ConsoleApp(
	string configFile = "appsettings.json",
	bool detectDebugMode = true
)

Parameters

configFile  String  (Optional)
Configuration file name.
The default is "appsettings.json"
detectDebugMode  Boolean  (Optional)
Detect if a debugger is attached or not.
The default is

Exceptions

ArgumentExceptionThrown when one of the arguments provided to a method is not valid.
TypeLoadExceptionThrown when type-loading failures occur.

See Also