IReactiveUIBindingBuilder
trait · ferroui-reactiveui · v0.5.0
trait IReactiveUIBindingBuilder: IAppBuilder
Configures the services, converters and platform modules of ReactiveUI.Binding, then builds
the application (IReactiveUIBindingBuilder).
Deviation (DEVIATIONS.md, ReactiveUI): the trait is object safe, so its methods take trait
objects and return &dyn IReactiveUIBindingBuilder. WithCoreServices, which upstream
redeclares to return this builder, is IAppBuilder::with_core_services; the inherent methods
of ReactiveUIBindingBuilder return the builder itself, and
BuilderMixins continues a chain from a &dyn IAppBuilder.
Members
with_platform_modulewith_registrationwith_converterwith_fallback_converterwith_set_method_converterwith_command_binderconfigure_view_locatorbuild_app
with_platform_module
fn with_platform_module(self: &Self, module: Rc<dyn IModule>) -> &dyn IReactiveUIBindingBuilder
Adds the module of a platform, applied at build time (WithPlatformModule<T>(T)).
with_registration
fn with_registration(self: &Self, configure_action: &dyn Fn(&dyn IMutableDependencyResolver) -> ()) -> &dyn IReactiveUIBindingBuilder
Runs configure_action on the resolver now (WithRegistration).
with_converter
fn with_converter(self: &Self, converter: Rc<dyn IBindingTypeConverter>) -> &dyn IReactiveUIBindingBuilder
Registers a converter of a pair of types (WithConverter).
with_fallback_converter
fn with_fallback_converter(self: &Self, converter: Rc<dyn IBindingFallbackConverter>) -> &dyn IReactiveUIBindingBuilder
Registers a fallback converter (WithFallbackConverter).
with_set_method_converter
fn with_set_method_converter(self: &Self, converter: Rc<dyn ISetMethodBindingConverter>) -> &dyn IReactiveUIBindingBuilder
Registers a converter of set methods (WithSetMethodConverter).
with_command_binder
fn with_command_binder(self: &Self, binder: Rc<dyn ICreatesCommandBinding>) -> &dyn IReactiveUIBindingBuilder
Registers a binder of commands to controls (WithCommandBinder).
configure_view_locator
fn configure_view_locator(self: &Self, configure: &dyn Fn(&ViewMappingBuilder<'_>) -> ()) -> &dyn IReactiveUIBindingBuilder
Registers a DefaultViewLocator with the mappings configure
adds (ConfigureViewLocator).
build_app
fn build_app(self: &Self) -> &dyn IReactiveUIBindingInstance
Builds the application, publishes the converter service and marks ReactiveUI.Binding
initialized (BuildApp).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.