次の方法で共有


Microsoft.Maui.LifecycleEvents Namespace

Provides interfaces and classes to enable the platform specific lifecycle events configuration in the AppHostBuilder.

Classes

AppHostBuilderExtensions
LifecycleBuilderExtensions
LifecycleEventRegistration
LifecycleEventService
LifecycleEventServiceExtensions
MauiAppHostBuilderExtensions

Interfaces

ILifecycleBuilder
ILifecycleEventService