Skip to content

ApplicationLifetimeService class

The default IApplicationLifetimeService implementation, backed by the Avalonia classic desktop application lifetime.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public sealed class ApplicationLifetimeService : IApplicationLifetimeService, IDisposable

Constructors

name description
ApplicationLifetimeService() Initializes a new instance of the ApplicationLifetimeService class and starts following the application shutdown.

Properties

name description
ApplicationStoppingToken { get; }
IsInitialized { get; }

Methods

name description
Dispose()
NotifyInitialized()
Shutdown()

See Also