ClassicDesktopStyleApplicationLifetime Class
Definition
public class ClassicDesktopStyleApplicationLifetime
Constructors
| Name | Description |
|---|---|
| ClassicDesktopStyleApplicationLifetime | No summary available. |
ClassicDesktopStyleApplicationLifetime Constructor
public ClassicDesktopStyleApplicationLifetime()
Methods
| Name | Description |
|---|---|
| Dispose | No summary available. |
| Shutdown | No summary available. |
| Start (2 overloads) | Since the lifetime must be set up/prepared with 'args' before executing Start(), an overload with no parameters seems more suitable for integrating with some lifetime manager providers, such as MS HostApplicationBuilder. |
| TryShutdown | No summary available. |
Dispose Method
public void Dispose()
Shutdown Method
public void Shutdown(int exitCode)
Parameters
exitCode int
Start overloads
Start Method
Since the lifetime must be set up/prepared with 'args' before executing Start(), an overload with no parameters seems more suitable for integrating with some lifetime manager providers, such as MS HostApplicationBuilder.
public int Start()