1 instantiation of MauiAppBuilder
Microsoft.Maui (1)
Hosting\MauiApp.cs (1)
35
public static MauiAppBuilder CreateBuilder(bool useDefaults = true) =>
new
(useDefaults);
93 references to MauiAppBuilder
Microsoft.Maui (34)
Hosting\Animations\AppHostBuilderExtensions.cs (2)
13
public static
MauiAppBuilder
ConfigureAnimations(this
MauiAppBuilder
builder)
Hosting\Dispatching\AppHostBuilderExtensions.cs (2)
11
public static
MauiAppBuilder
ConfigureDispatching(this
MauiAppBuilder
builder)
Hosting\EssentialsMauiAppBuilderExtensions.cs (4)
25
internal static
MauiAppBuilder
UseEssentials(this
MauiAppBuilder
builder)
85
public static
MauiAppBuilder
ConfigureEssentials(this
MauiAppBuilder
builder, Action<IEssentialsBuilder>? configureDelegate = null)
Hosting\Fonts\FontsMauiAppBuilderExtensions.cs (10)
13
/// Configures the <see cref="
MauiAppBuilder
"/> with fonts.
15
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
16
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
17
public static
MauiAppBuilder
ConfigureFonts(this
MauiAppBuilder
builder)
24
/// Configures the <see cref="
MauiAppBuilder
"/> with a specified delegate <paramref name="configureDelegate"/> to register fonts in the application.
26
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
28
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
29
public static
MauiAppBuilder
ConfigureFonts(this
MauiAppBuilder
builder, Action<IFontCollection>? configureDelegate)
Hosting\HandlerMauiAppBuilderExtensions.cs (2)
12
public static
MauiAppBuilder
ConfigureMauiHandlers(this
MauiAppBuilder
builder, Action<IMauiHandlersCollection>? configureDelegate)
Hosting\ImageSources\ImageSourcesMauiAppBuilderExtensions.cs (4)
12
public static
MauiAppBuilder
ConfigureImageSources(this
MauiAppBuilder
builder)
24
public static
MauiAppBuilder
ConfigureImageSources(this
MauiAppBuilder
builder, Action<IImageSourceServiceCollection>? configureDelegate)
Hosting\LifecycleEvents\AppHostBuilderExtensions.cs (2)
25
public static
MauiAppBuilder
ConfigureLifecycleEvents(this
MauiAppBuilder
builder, Action<ILifecycleBuilder>? configureDelegate)
Hosting\LifecycleEvents\AppHostBuilderExtensions.Standard.cs (4)
9
internal static
MauiAppBuilder
ConfigureCrossPlatformLifecycleEvents(this
MauiAppBuilder
builder) =>
12
internal static
MauiAppBuilder
ConfigureWindowEvents(this
MauiAppBuilder
builder) =>
Hosting\MauiApp.cs (4)
31
/// Initializes a new instance of the <see cref="
MauiAppBuilder
"/> class with optional defaults.
33
/// <param name="useDefaults">Whether to create the <see cref="
MauiAppBuilder
"/> with common defaults.</param>
34
/// <returns>The <see cref="
MauiAppBuilder
"/>.</returns>
35
public static
MauiAppBuilder
CreateBuilder(bool useDefaults = true) => new(useDefaults);
Microsoft.Maui.Controls (18)
Hosting\AppHostBuilderExtensions.cs (16)
32
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the main application type.
35
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
36
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
37
internal static
MauiAppBuilder
UseMauiPrimaryApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder)
48
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the main application type.
51
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
53
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
54
internal static
MauiAppBuilder
UseMauiPrimaryApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder, Func<IServiceProvider, TApp> implementationFactory)
172
static
MauiAppBuilder
SetupDefaults(this
MauiAppBuilder
builder)
222
static
MauiAppBuilder
ConfigureImageSourceHandlers(this
MauiAppBuilder
builder)
235
internal static
MauiAppBuilder
RemapForControls(this
MauiAppBuilder
builder)
Hosting\Effects\AppHostBuilderExtensions.cs (2)
43
public static
MauiAppBuilder
ConfigureEffects(this
MauiAppBuilder
builder, Action<IEffectsBuilder> configureDelegate)
Microsoft.Maui.Controls.Compatibility (10)
AppHostBuilderExtensions.cs (4)
60
public static
MauiAppBuilder
UseMauiCompatibility(this
MauiAppBuilder
builder)
115
static
MauiAppBuilder
AddMauiCompat(this
MauiAppBuilder
builder)
AppHostBuilderExtensions.Embedding.cs (4)
12
public static
MauiAppBuilder
UseMauiEmbedding<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder)
16
public static
MauiAppBuilder
UseMauiEmbedding<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder, Func<IServiceProvider, TApp> implementationFactory)
AppHostBuilderExtensions.Standard.cs (2)
9
internal static
MauiAppBuilder
ConfigureCompatibilityLifecycleEvents(this
MauiAppBuilder
builder) =>
Microsoft.Maui.Controls.Foldable (3)
HostBuilderExtensions.cs (2)
9
public static
MauiAppBuilder
UseFoldable(this
MauiAppBuilder
builder) =>
TwoPaneView.cs (1)
18
/// Requires <see cref="Microsoft.Maui.Foldable.HostBuilderExtensions.UseFoldable(Maui.Hosting.
MauiAppBuilder
)"/>
Microsoft.Maui.Controls.Maps (6)
AppHostBuilderExtensions.cs (6)
18
/// This class contains the Map's <see cref="
MauiAppBuilder
"/> extensions.
23
/// Configures <see cref="
MauiAppBuilder
"/> to add support for the <see cref="Map"/> control.
25
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
26
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
28
public static
MauiAppBuilder
UseMauiMaps(this
MauiAppBuilder
builder)
Microsoft.Maui.Controls.Xaml (22)
Embedding\EmbeddingExtensions.cs (10)
14
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the embedded application type.
17
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
18
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
19
public static
MauiAppBuilder
UseMauiEmbeddedApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder)
30
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the embedded application type.
33
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
35
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
36
public static
MauiAppBuilder
UseMauiEmbeddedApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder, Func<IServiceProvider, TApp> implementationFactory)
Hosting\AppHostBuilderExtensions.cs (12)
10
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the main application type.
13
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
14
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
15
public static
MauiAppBuilder
UseMauiApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder)
24
/// Configures the <see cref="
MauiAppBuilder
"/> to use the specified <typeparamref name="TApp"/> as the main application type.
27
/// <param name="builder">The <see cref="
MauiAppBuilder
"/> to configure.</param>
29
/// <returns>The configured <see cref="
MauiAppBuilder
"/>.</returns>
30
public static
MauiAppBuilder
UseMauiApp<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TApp>(this
MauiAppBuilder
builder, Func<IServiceProvider, TApp> implementationFactory)
41
static
MauiAppBuilder
SetupXamlDefaults(this
MauiAppBuilder
builder)