MauiAppHostBuilderExtensions.ConfigureLifecycleEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>