DesktopApplicationExtensions.

Run(Application, CancellationToken) Method

Summary

On desktop-style platforms runs the application's main loop with custom CancellationToken without setting a lifetime.

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