IAppBuilder
trait · ferroui-splat · v0.5.0
trait IAppBuilder
Configures the services of an application, then builds it (IAppBuilder). Each method returns
the builder, to chain the calls.
Members
build
fn build(self: &Self) -> &dyn IAppInstance
Applies the registrations and returns the application (Build).
use_current_splat_locator
fn use_current_splat_locator(self: &Self) -> &dyn IAppBuilder
Applies the registrations to the current resolver of AppLocator at build time instead
of the builder's (UseCurrentSplatLocator).
using_module
fn using_module(self: &Self, registration_module: Rc<dyn IModule>) -> &dyn IAppBuilder
Adds a module, whose registrations are applied at build time (UsingModule<T>).
with_core_services
fn with_core_services(self: &Self) -> &dyn IAppBuilder
Adds the core services (WithCoreServices).
with_custom_registration
fn with_custom_registration(self: &Self, configure_action: Rc<dyn Fn(&dyn IMutableDependencyResolver) -> ()>) -> &dyn IAppBuilder
Adds registrations, applied at build time (WithCustomRegistration).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.