ReactiveUIBindingBuilder class¶
Defined in
Namespace: ReactiveUI.Binding.Builder
Assembly: ReactiveUI.Binding.dll
Full name: ReactiveUI.Binding.Builder.ReactiveUIBindingBuilder
Modifiers: public sealed
Summary¶
A builder class for configuring ReactiveUI.Binding services. Extends the Splat AppBuilder to provide binding-specific configuration.
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
Class hierarchy
classDiagram
class ReactiveUIBindingBuilder
class AppBuilder
AppBuilder <|-- ReactiveUIBindingBuilder
class IReactiveUIBindingBuilder {
<>
}
IReactiveUIBindingBuilder <|.. ReactiveUIBindingBuilder
class IAppBuilder {
<>
}
IAppBuilder <|.. ReactiveUIBindingBuilder
class IReactiveUIBindingInstance {
<>
}
IReactiveUIBindingInstance <|.. ReactiveUIBindingBuilder
class IAppInstance {
<>
}
IAppInstance <|.. ReactiveUIBindingBuilder
Inherits from: AppBuilder
Implements: IReactiveUIBindingBuilder, IAppBuilder, IReactiveUIBindingInstance, IAppInstance
Remarks¶
Use this builder to register core services, default converters, and platform-specific modules for property observation and binding.
RxBindingBuilder.CreateReactiveUIBindingBuilder()
.WithCoreServices()
.WithPlatformModule(new WpfBindingModule())
.BuildApp();
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [ReactiveUIBindingBuilder](# class. |
Properties¶
| Name | Summary |
|---|---|
| ConverterService | Gets the converter service used for binding type conversions. |
Methods¶
| Name | Summary |
|---|---|
| WithPlatformModule | Registers a platform-specific module with the builder. |
| WithRegistration | Adds a custom registration action to be executed during the build phase. |
| WithConverter | Registers a typed binding converter. |
| WithFallbackConverter | Registers a fallback binding converter. |
| WithSetMethodConverter | Registers a set-method binding converter. |
| WithCommandBinder | Registers a custom command binder for binding commands to UI controls. |
| ConfigureViewLocator | Configures the default view locator with explicit view-to-view-model mappings. |
| WithCoreServices | Registers the core ReactiveUI.Binding services in an AOT-compatible manner. |
| BuildApp | Builds the application and returns the configured instance. |
Inherited members
Splat.Builder.AppBuilder.#ctor(Splat.IMutableDependencyResolver)Splat.Builder.AppBuilder.#ctor(Splat.IMutableDependencyResolver,Splat.IReadonlyDependencyResolver)Splat.Builder.AppBuilder.CreateSplatBuilderSplat.Builder.AppBuilder.ResetBuilderStateForTestsSplat.Builder.AppBuilder.UseCurrentSplatLocatorSplat.Builder.AppBuilder.UsingModule``1(``0)Splat.Builder.AppBuilder.WithCustomRegistration(System.Action{Splat.IMutableDependencyResolver})Splat.Builder.AppBuilder.WithCoreServicesSplat.Builder.AppBuilder.BuildSplat.Builder.AppBuilder.HasBeenBuiltSplat.Builder.AppBuilder.UsingBuilderSplat.Builder.AppBuilder.CurrentSplat.Builder.AppBuilder.CurrentMutableSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString