Skip to content

IAppBuilder interface

Defined in

Namespace: Splat.Builder Assembly: Splat.Core.dll Full name: Splat.Builder.IAppBuilder Modifiers: public abstract

Summary

        Defines a builder interface for configuring and constructing application instances with customizable modules,
        services, and dependency registrations.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481

Remarks

The IAppBuilder interface enables fluent configuration of application components and services before creating an application instance. Implementations typically support method chaining, allowing multiple configuration steps to be composed in a single statement. This interface is intended for use in application startup code to register modules, configure dependency resolution, and set up core or custom services prior to building the final application instance.

Methods

NameSummary
BuildBuilds and returns a configured application instance.
UseCurrentSplatLocatorConfigures the application to use the current Splat service locator for dependency resolution within the OWIN pipeline.
UsingModuleRegisters the specified module with the application builder, enabling its services and configuration within the application pipeline.
WithCoreServicesAdds the core framework services to the application builder.
WithCustomRegistrationConfigures the dependency resolver with custom registrations using the specified action.

Extension members