MauiAppBuilder Class
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.
A builder for .NET MAUI cross-platform applications and services.
public ref class MauiAppBuilder sealed
public sealed class MauiAppBuilder
type MauiAppBuilder = class
Public NotInheritable Class MauiAppBuilder
- Inheritance
-
MauiAppBuilder
Configuration |
A collection of configuration providers for the application to compose. This is useful for adding new configuration sources and providers. |
Logging |
A collection of logging providers for the application to compose. This is useful for adding new logging providers. |
Services |
A collection of services for the application to compose. This is useful for adding user provided or framework provided services. |
Build() |
Builds the MauiApp. |
Configure |
Registers a IServiceProviderFactory<TContainerBuilder> instance to be used to create the IServiceProvider. |
Product | Versions |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI feedback
.NET MAUI is an open source project. Select a link to provide feedback: