HandlerMauiAppBuilderExtensions.ConfigureMauiHandlers Method

Definition

Overloads

ConfigureMauiHandlers(IServiceCollection, Action<IMauiHandlersCollection>)

Source:
HandlerMauiAppBuilderExtensions.cs
Source:
HandlerMauiAppBuilderExtensions.cs
public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureMauiHandlers (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Maui.Hosting.IMauiHandlersCollection>? configureDelegate);

Parameters

configureDelegate
Action<IMauiHandlersCollection>

Returns

Applies to

.NET MAUI 9 et .NET MAUI 8
Produit Versions
.NET MAUI 8, 9

ConfigureMauiHandlers(MauiAppBuilder, Action<IMauiHandlersCollection>)

Source:
HandlerMauiAppBuilderExtensions.cs
Source:
HandlerMauiAppBuilderExtensions.cs
public static Microsoft.Maui.Hosting.MauiAppBuilder ConfigureMauiHandlers (this Microsoft.Maui.Hosting.MauiAppBuilder builder, Action<Microsoft.Maui.Hosting.IMauiHandlersCollection>? configureDelegate);

Parameters

builder
MauiAppBuilder
configureDelegate
Action<IMauiHandlersCollection>

Returns

Applies to

.NET MAUI 9 et .NET MAUI 8
Produit Versions
.NET MAUI 8, 9