DesktopApplicationExtensions Class

Namespace
Avalonia.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["DesktopApplicationExtensions"] class Type type-node

Syntax

public static class DesktopApplicationExtensions

Methods

Name Value Summary
Run(Application) void
static
Run(Application, CancellationToken) void
On desktop-style platforms runs the application's main loop with custom CancellationToken without setting a lifetime.
static
Run(Application, ICloseable) void
On desktop-style platforms runs the application's main loop until closable is closed
static
Run(Application, Window) void
On desktop-style platforms runs the application's main loop until main window is closed
static
RunWithMainWindow<TWindow>(Application) void
static