Compartilhar via


MauiAppHostBuilderExtensions.ConfigureLifecycleEvents Método

Definição

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::MauiAppBuilder ^ ConfigureLifecycleEvents(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder, Action<Microsoft::Maui::LifecycleEvents::ILifecycleBuilder ^> ^ configureDelegate);
public static Microsoft.Maui.Hosting.MauiAppBuilder ConfigureLifecycleEvents (this Microsoft.Maui.Hosting.MauiAppBuilder builder, Action<Microsoft.Maui.LifecycleEvents.ILifecycleBuilder>? configureDelegate);
static member ConfigureLifecycleEvents : Microsoft.Maui.Hosting.MauiAppBuilder * Action<Microsoft.Maui.LifecycleEvents.ILifecycleBuilder> -> Microsoft.Maui.Hosting.MauiAppBuilder
<Extension()>
Public Function ConfigureLifecycleEvents (builder As MauiAppBuilder, configureDelegate As Action(Of ILifecycleBuilder)) As MauiAppBuilder

Parâmetros

builder
MauiAppBuilder
configureDelegate
Action<ILifecycleBuilder>

Retornos

Aplica-se a