C# Class Platform.Application

Helper class to manage application lifetime explicitly, when it runs as console application
Mostra file Open project: Lokad/lokad-data-platform

Public Methods

Method Description
Exit ( ExitCode exitCode, string reason ) : void
Start ( Action exitAction ) : void

Method Details

Exit() public static method

public static Exit ( ExitCode exitCode, string reason ) : void
exitCode ExitCode
reason string
return void

Start() public static method

public static Start ( Action exitAction ) : void
exitAction Action
return void