Skip to main content

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.

Definition​

Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public int Start()

Return Value​

Int32
exit code

See Also​

Reference​

ClassicDesktopStyleApplicationLifetime Class
Start Overload
Avalonia.Controls.ApplicationLifetimes Namespace