次の方法で共有


MauiAppHostBuilderExtensions.ConfigureLifecycleEvents メソッド

定義

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

パラメーター

builder
MauiAppBuilder
configureDelegate
Action<ILifecycleBuilder>

戻り値

適用対象