Class BuilderMixins
- Namespace
- ReactiveUI.Builder
- Assembly
- ReactiveUI.dll
BuilderMixins.
- Inheritance
-
Builder
Mixins
Methods
ConfigureMessageBus(IReactiveUIBuilder, Action<MessageBus>)
Configures the ReactiveUI message bus.
public static IReactiveUIBuilder ConfigureMessageBus(this IReactiveUIBuilder reactiveUIBuilder, Action<MessageBus> configure)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
configureAction<MessageBus >The configuration action.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
ConfigureSuspensionDriver(IReactiveUIBuilder, Action<ISuspensionDriver>)
Configures the ReactiveUI suspension driver.
public static IReactiveUIBuilder ConfigureSuspensionDriver(this IReactiveUIBuilder reactiveUIBuilder, Action<ISuspensionDriver> configure)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
configureAction<ISuspensionDriver >The configuration action.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
ConfigureViewLocator(IReactiveUIBuilder, Action<DefaultViewLocator>)
Configures the ReactiveUI view locator.
public static IReactiveUIBuilder ConfigureViewLocator(this IReactiveUIBuilder reactiveUIBuilder, Action<DefaultViewLocator> configure)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
configureAction<DefaultView >Locator The configuration action.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
ForCustomPlatform(IReactiveUIBuilder, IScheduler, Action<IMutableDependencyResolver>)
Configures a custom platform implementation for ReactiveUI.
public static IReactiveUIBuilder ForCustomPlatform(this IReactiveUIBuilder reactiveUIBuilder, IScheduler mainThreadScheduler, Action<IMutableDependencyResolver> platformServices)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
mainThreadSchedulerISchedulerThe main thread scheduler for the platform.
platformServicesAction<IMutableDependency >Resolver The platform-specific service registrations.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
ForPlatforms(IReactiveUIBuilder, params Action<IReactiveUIBuilder>[])
Configures ReactiveUI for multiple platforms simultaneously.
public static IReactiveUIBuilder ForPlatforms(this IReactiveUIBuilder reactiveUIBuilder, params Action<IReactiveUIBuilder>[] platformConfigurations)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
platformConfigurationsAction<IReactiveUIBuilder >[]The platform configuration actions.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
RegisterSingletonViewModel<TViewModel>(IReactiveUIBuilder)
Registers a custom view model with the dependency resolver.
public static IReactiveUIBuilder RegisterSingletonViewModel<TViewModel>(this IReactiveUIBuilder reactiveUIBuilder) where TViewModel : class, IReactiveObject, new()
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Type Parameters
TViewModelThe view model type.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
RegisterSingletonView<TView, TViewModel>(IReactiveUIBuilder)
Registers a custom view for a specific view model.
public static IReactiveUIBuilder RegisterSingletonView<TView, TViewModel>(this IReactiveUIBuilder reactiveUIBuilder) where TView : class, IViewFor<TViewModel>, new() where TViewModel : class, IReactiveObject
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Type Parameters
TViewThe view type.
TViewModelThe view model type.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
RegisterViewModel<TViewModel>(IReactiveUIBuilder)
Registers a custom view model with the dependency resolver.
public static IReactiveUIBuilder RegisterViewModel<TViewModel>(this IReactiveUIBuilder reactiveUIBuilder) where TViewModel : class, IReactiveObject, new()
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Type Parameters
TViewModelThe view model type.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
RegisterView<TView, TViewModel>(IReactiveUIBuilder)
Registers a custom view for a specific view model.
public static IReactiveUIBuilder RegisterView<TView, TViewModel>(this IReactiveUIBuilder reactiveUIBuilder) where TView : class, IViewFor<TViewModel>, new() where TViewModel : class, IReactiveObject
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Type Parameters
TViewThe view type.
TViewModelThe view model type.
Exceptions
- Argument
Null Exception reactiveUIBuilder.
UsingSplatBuilder(IReactiveUIBuilder, Action<IAppBuilder>?)
Uses the splat builder.
public static IReactiveUIBuilder UsingSplatBuilder(this IReactiveUIBuilder reactiveUIBuilder, Action<IAppBuilder>? appBuilder)
Parameters
reactiveUIBuilderIReactiveUIBuilder The reactive UI builder.
appBuilderAction<IAppBuilder >The application builder.
Returns
- IReactive
UIBuilder The builder instance for method chaining.
UsingSplatModule<T>(IReactiveUIBuilder, T)
Using the splat module.
public static IReactiveUIBuilder UsingSplatModule<T>(this IReactiveUIBuilder builder, T registrationModule) where T : IModule
Parameters
builderIReactiveUIBuilder The builder.
registrationModuleTThe registration module to add.
Returns
- IReactive
UIBuilder The builder instance for method chaining.
Type Parameters
TThe Splat Module Type.
Exceptions
- Argument
Null Exception builder.
WithInstance<T>(IReactiveUIInstance, Action<T?>)
Resolves a single instance and passes it to the action.
public static IReactiveUIInstance WithInstance<T>(this IReactiveUIInstance reactiveUIInstance, Action<T?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
TThe type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?>)
Resolves ten instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?>)
Resolves eleven instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?>)
Resolves twelve instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?>)
Resolves thirteen instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?>)
Resolves fourteen instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?>)
Resolves fifteen instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.
T15The fifteenth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?, T16?>)
Resolves sixteen instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, T13?, T14?, T15?, T16?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
T10The tenth type to resolve.
T11The eleventh type to resolve.
T12The twelfth type to resolve.
T13The thirteenth type to resolve.
T14The fourteenth type to resolve.
T15The fifteenth type to resolve.
T16The sixteenth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2>(IReactiveUIInstance, Action<T1?, T2?>)
Resolves two instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3>(IReactiveUIInstance, Action<T1?, T2?, T3?>)
Resolves three instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?>)
Resolves four instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?>)
Resolves five instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?>)
Resolves six instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?>)
Resolves seven instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?>)
Resolves eight instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IReactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?>)
Resolves nine instances and passes them to the action.
public static IReactiveUIInstance WithInstance<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IReactiveUIInstance reactiveUIInstance, Action<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?> action)
Parameters
reactiveUIInstanceIReactiveUIInstance The reactive UI instance.
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>The action.
Returns
- IReactive
UIInstance IReactiveUIInstance instance for chaining.
Type Parameters
T1The first type to resolve.
T2The second type to resolve.
T3The third type to resolve.
T4The fourth type to resolve.
T5The fifth type to resolve.
T6The sixth type to resolve.
T7The seventh type to resolve.
T8The eighth type to resolve.
T9The ninth type to resolve.
Exceptions
- Argument
Null Exception reactiveUIInstance.
WithMainThreadScheduler(IReactiveUIBuilder, IScheduler, bool)
Configures the main thread scheduler.
public static IReactiveUIBuilder WithMainThreadScheduler(this IReactiveUIBuilder builder, IScheduler scheduler, bool setRxApp = true)
Parameters
builderIReactiveUIBuilder The builder.
schedulerISchedulerThe scheduler.
setRxAppboolif set to
true[set rx application].
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception builder.
WithPlatformModule<T>(IReactiveUIBuilder)
Registers a platform-specific registration module by type.
[RequiresDynamicCode("The method uses reflection and will not work in AOT environments.")]
[RequiresUnreferencedCode("The method uses reflection and will not work in AOT environments.")]
public static IReactiveUIBuilder WithPlatformModule<T>(this IReactiveUIBuilder builder) where T : IWantsToRegisterStuff, new()
Parameters
builderIReactiveUIBuilder The builder.
Returns
- IReactive
UIBuilder The builder instance for method chaining.
Type Parameters
TThe type of the registration module that implements IWantsToRegisterStuff.
Exceptions
- Argument
Null Exception builder.
WithRegistration(IReactiveUIBuilder, Action<IMutableDependencyResolver>)
Configures the registration immediately.
public static IReactiveUIBuilder WithRegistration(this IReactiveUIBuilder builder, Action<IMutableDependencyResolver> configureAction)
Parameters
builderIReactiveUIBuilder The builder.
configureActionAction<IMutableDependency >Resolver The configure action.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception builder.
WithRegistrationOnBuild(IReactiveUIBuilder, Action<IMutableDependencyResolver>)
Configures the registration on build.
public static IReactiveUIBuilder WithRegistrationOnBuild(this IReactiveUIBuilder builder, Action<IMutableDependencyResolver> configureAction)
Parameters
builderIReactiveUIBuilder The builder.
configureActionAction<IMutableDependency >Resolver The configure action.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception builder.
WithTaskPoolScheduler(IReactiveUIBuilder, IScheduler, bool)
Configures the task pool scheduler.
public static IReactiveUIBuilder WithTaskPoolScheduler(this IReactiveUIBuilder builder, IScheduler scheduler, bool setRxApp = true)
Parameters
builderIReactiveUIBuilder The builder.
schedulerISchedulerThe scheduler.
setRxAppboolif set to
true[set rx application].
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception scheduler.
WithViewsFromAssembly(IReactiveUIBuilder, Assembly)
Configures the views from the assembly.
[RequiresDynamicCode("The method uses reflection and will not work in AOT environments.")]
[RequiresUnreferencedCode("The method uses reflection and will not work in AOT environments.")]
public static IReactiveUIBuilder WithViewsFromAssembly(this IReactiveUIBuilder builder, Assembly assembly)
Parameters
builderIReactiveUIBuilder The builder.
assemblyAssemblyThe assembly.
Returns
- IReactive
UIBuilder The builder instance for chaining.
Exceptions
- Argument
Null Exception builder.