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>
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI