AppBuilderBase<TAppBuilder>.

SetupWithLifetime(IApplicationLifetime) Method

Summary

Sets up the platform-specific services for the application and initialized it with a particular lifetime, but does not run it.
Namespace
Avalonia.Controls
Containing Type
AppBuilderBase<TAppBuilder>

Syntax

public TAppBuilder SetupWithLifetime(IApplicationLifetime lifetime)

Parameters

Name Type Description
lifetime IApplicationLifetime

Return Value

Type Description
TAppBuilder