ClassicDesktopStyleApplicationLifetimeExtensions.

StartWithClassicDesktopLifetime<T>(T, string[], ShutdownMode) Method

Syntax

public static int StartWithClassicDesktopLifetime<T>(this T builder, string[] args, ShutdownMode shutdownMode = OnLastWindowClose) 
    where T : AppBuilderBase<T>, new()

Type Parameters

Name Description
T

Parameters

Name Type Description
builder T
args string[]
shutdownMode ShutdownMode

Return Value

Type Description
int