SetupWithLifetime 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)
- C#
- VB
- F#
public AppBuilder SetupWithLifetime(
IApplicationLifetime lifetime
)
Public Function SetupWithLifetime (
lifetime As IApplicationLifetime
) As AppBuilder
member SetupWithLifetime :
lifetime : IApplicationLifetime -> AppBuilder