AppBuilderSetupWithLifetime Method

Sets up the platform-specific services for the application and initialized it with a particular lifetime, but does not run it.

Definition

Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public AppBuilder SetupWithLifetime(
	IApplicationLifetime lifetime
)

Parameters

lifetime  IApplicationLifetime

Return Value

AppBuilder

See Also