Share via


MauiAppHostBuilderExtensions.ConfigureLifecycleEvents Method

Definition

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

Parameters

builder
MauiAppBuilder
configureDelegate
Action<ILifecycleBuilder>

Returns

Applies to