HandlerMauiAppBuilderExtensions.ConfigureMauiHandlers 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.
Overloads
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
Parameters
- services
- IServiceCollection
- configureDelegate
- Action<IMauiHandlersCollection>
Returns
Applies to
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
Parameters
- builder
- MauiAppBuilder
- configureDelegate
- Action<IMauiHandlersCollection>
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.