Share via


AppHostBuilderExtensions Class

Definition

This class contains the Map's MauiAppBuilder extensions.

public ref class AppHostBuilderExtensions abstract sealed
public static class AppHostBuilderExtensions
type AppHostBuilderExtensions = class
Public Module AppHostBuilderExtensions
Inheritance
AppHostBuilderExtensions

Methods

AddMauiControlsHandlers(IMauiHandlersCollection)
AddMauiMaps(IMauiHandlersCollection)

Registers the .NET MAUI Maps handlers that are needed to render the map control.

ConfigureEffects(MauiAppBuilder, Action<IEffectsBuilder>)
UseMauiApp<TApp>(MauiAppBuilder)

Configures the MauiAppBuilder to use the specified TApp as the main application type.

UseMauiApp<TApp>(MauiAppBuilder, Func<IServiceProvider,TApp>)

Configures the MauiAppBuilder to use the specified TApp as the main application type.

UseMauiMaps(MauiAppBuilder)

Configures MauiAppBuilder to add support for the Map control.

Applies to