Summary
On desktop-style platforms runs the application's main loop until closable is closed
- Namespace
- Avalonia
.Controls - Containing Type
- Desktop
Application Extensions
Syntax
public static void Run(this Application app, ICloseable closable)
Remarks
Consider using StartWithDesktopStyleLifetime instead, see https://github.com/AvaloniaUI/Avalonia/wiki/Application-lifetimes for details
Parameters
Name | Type | Description |
---|---|---|
app | Application | |
closable | ICloseable |
Return Value
Type | Description |
---|---|
void |