HandlerMauiAppBuilderExtensions.ConfigureMauiHandlers Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ConfigureMauiHandlers(IServiceCollection, Action<IMauiHandlersCollection>) | |
ConfigureMauiHandlers(MauiAppBuilder, Action<IMauiHandlersCollection>) |
ConfigureMauiHandlers(IServiceCollection, Action<IMauiHandlersCollection>)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ ConfigureMauiHandlers(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Maui::Hosting::IMauiHandlersCollection ^> ^ configureDelegate);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigureMauiHandlers (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Maui.Hosting.IMauiHandlersCollection>? configureDelegate);
static member ConfigureMauiHandlers : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Maui.Hosting.IMauiHandlersCollection> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function ConfigureMauiHandlers (services As IServiceCollection, configureDelegate As Action(Of IMauiHandlersCollection)) As IServiceCollection
Paramètres
- services
- IServiceCollection
- configureDelegate
- Action<IMauiHandlersCollection>
Retours
S’applique à
ConfigureMauiHandlers(MauiAppBuilder, Action<IMauiHandlersCollection>)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Hosting::MauiAppBuilder ^ ConfigureMauiHandlers(Microsoft::Maui::Hosting::MauiAppBuilder ^ builder, Action<Microsoft::Maui::Hosting::IMauiHandlersCollection ^> ^ configureDelegate);
public static Microsoft.Maui.Hosting.MauiAppBuilder ConfigureMauiHandlers (this Microsoft.Maui.Hosting.MauiAppBuilder builder, Action<Microsoft.Maui.Hosting.IMauiHandlersCollection>? configureDelegate);
static member ConfigureMauiHandlers : Microsoft.Maui.Hosting.MauiAppBuilder * Action<Microsoft.Maui.Hosting.IMauiHandlersCollection> -> Microsoft.Maui.Hosting.MauiAppBuilder
<Extension()>
Public Function ConfigureMauiHandlers (builder As MauiAppBuilder, configureDelegate As Action(Of IMauiHandlersCollection)) As MauiAppBuilder
Paramètres
- builder
- MauiAppBuilder
- configureDelegate
- Action<IMauiHandlersCollection>