Summary
On desktop-style platforms runs the application's main loop with custom CancellationToken
without setting a lifetime.
- Namespace
- Avalonia
.Controls - Containing Type
- Desktop
Application Extensions
Syntax
public static void Run(this Application app, CancellationToken token)
Parameters
Name | Type | Description |
---|---|---|
app | Application | The application. |
token | CancellationToken | The token to track. |
Return Value
Type | Description |
---|---|
void |