DesktopApplicationExtensions.

Run(Application, ICloseable) Method

Summary

On desktop-style platforms runs the application's main loop until closable is closed

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