Table of Contents

Class BuilderMixins

Namespace
ReactiveUI.Builder
Assembly
ReactiveUI.dll

BuilderMixins.

public static class BuilderMixins
Inheritance
BuilderMixins

Methods

ConfigureMessageBus(IReactiveUIBuilder, Action<MessageBus>)

Configures the ReactiveUI message bus.

public static IReactiveUIBuilder ConfigureMessageBus(this IReactiveUIBuilder reactiveUIBuilder, Action<MessageBus> configure)

Parameters

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

configure Action<MessageBus>

The configuration action.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

reactiveUIBuilder.

ConfigureSuspensionDriver(IReactiveUIBuilder, Action<ISuspensionDriver>)

Configures the ReactiveUI suspension driver.

public static IReactiveUIBuilder ConfigureSuspensionDriver(this IReactiveUIBuilder reactiveUIBuilder, Action<ISuspensionDriver> configure)

Parameters

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

configure Action<ISuspensionDriver>

The configuration action.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

reactiveUIBuilder.

ConfigureViewLocator(IReactiveUIBuilder, Action<DefaultViewLocator>)

Configures the ReactiveUI view locator.

public static IReactiveUIBuilder ConfigureViewLocator(this IReactiveUIBuilder reactiveUIBuilder, Action<DefaultViewLocator> configure)

Parameters

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

configure Action<DefaultViewLocator>

The configuration action.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

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

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

mainThreadScheduler IScheduler

The main thread scheduler for the platform.

platformServices Action<IMutableDependencyResolver>

The platform-specific service registrations.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

reactiveUIBuilder.

ForPlatforms(IReactiveUIBuilder, params Action<IReactiveUIBuilder>[])

Configures ReactiveUI for multiple platforms simultaneously.

public static IReactiveUIBuilder ForPlatforms(this IReactiveUIBuilder reactiveUIBuilder, params Action<IReactiveUIBuilder>[] platformConfigurations)

Parameters

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

platformConfigurations Action<IReactiveUIBuilder>[]

The platform configuration actions.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

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

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Type Parameters

TViewModel

The view model type.

Exceptions

ArgumentNullException

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

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Type Parameters

TView

The view type.

TViewModel

The view model type.

Exceptions

ArgumentNullException

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

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Type Parameters

TViewModel

The view model type.

Exceptions

ArgumentNullException

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

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Type Parameters

TView

The view type.

TViewModel

The view model type.

Exceptions

ArgumentNullException

reactiveUIBuilder.

UsingSplatBuilder(IReactiveUIBuilder, Action<IAppBuilder>?)

Uses the splat builder.

public static IReactiveUIBuilder UsingSplatBuilder(this IReactiveUIBuilder reactiveUIBuilder, Action<IAppBuilder>? appBuilder)

Parameters

reactiveUIBuilder IReactiveUIBuilder

The reactive UI builder.

appBuilder Action<IAppBuilder>

The application builder.

Returns

IReactiveUIBuilder

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

builder IReactiveUIBuilder

The builder.

registrationModule T

The registration module to add.

Returns

IReactiveUIBuilder

The builder instance for method chaining.

Type Parameters

T

The Splat Module Type.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T

The type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

T12

The twelfth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

T12

The twelfth type to resolve.

T13

The thirteenth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

T12

The twelfth type to resolve.

T13

The thirteenth type to resolve.

T14

The fourteenth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

T12

The twelfth type to resolve.

T13

The thirteenth type to resolve.

T14

The fourteenth type to resolve.

T15

The fifteenth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

T10

The tenth type to resolve.

T11

The eleventh type to resolve.

T12

The twelfth type to resolve.

T13

The thirteenth type to resolve.

T14

The fourteenth type to resolve.

T15

The fifteenth type to resolve.

T16

The sixteenth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

Exceptions

ArgumentNullException

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

reactiveUIInstance IReactiveUIInstance

The reactive UI instance.

action Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>

The action.

Returns

IReactiveUIInstance

IReactiveUIInstance instance for chaining.

Type Parameters

T1

The first type to resolve.

T2

The second type to resolve.

T3

The third type to resolve.

T4

The fourth type to resolve.

T5

The fifth type to resolve.

T6

The sixth type to resolve.

T7

The seventh type to resolve.

T8

The eighth type to resolve.

T9

The ninth type to resolve.

Exceptions

ArgumentNullException

reactiveUIInstance.

WithMainThreadScheduler(IReactiveUIBuilder, IScheduler, bool)

Configures the main thread scheduler.

public static IReactiveUIBuilder WithMainThreadScheduler(this IReactiveUIBuilder builder, IScheduler scheduler, bool setRxApp = true)

Parameters

builder IReactiveUIBuilder

The builder.

scheduler IScheduler

The scheduler.

setRxApp bool

if set to true [set rx application].

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

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

builder IReactiveUIBuilder

The builder.

Returns

IReactiveUIBuilder

The builder instance for method chaining.

Type Parameters

T

The type of the registration module that implements IWantsToRegisterStuff.

Exceptions

ArgumentNullException

builder.

WithRegistration(IReactiveUIBuilder, Action<IMutableDependencyResolver>)

Configures the registration immediately.

public static IReactiveUIBuilder WithRegistration(this IReactiveUIBuilder builder, Action<IMutableDependencyResolver> configureAction)

Parameters

builder IReactiveUIBuilder

The builder.

configureAction Action<IMutableDependencyResolver>

The configure action.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

builder.

WithRegistrationOnBuild(IReactiveUIBuilder, Action<IMutableDependencyResolver>)

Configures the registration on build.

public static IReactiveUIBuilder WithRegistrationOnBuild(this IReactiveUIBuilder builder, Action<IMutableDependencyResolver> configureAction)

Parameters

builder IReactiveUIBuilder

The builder.

configureAction Action<IMutableDependencyResolver>

The configure action.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

builder.

WithTaskPoolScheduler(IReactiveUIBuilder, IScheduler, bool)

Configures the task pool scheduler.

public static IReactiveUIBuilder WithTaskPoolScheduler(this IReactiveUIBuilder builder, IScheduler scheduler, bool setRxApp = true)

Parameters

builder IReactiveUIBuilder

The builder.

scheduler IScheduler

The scheduler.

setRxApp bool

if set to true [set rx application].

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

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

builder IReactiveUIBuilder

The builder.

assembly Assembly

The assembly.

Returns

IReactiveUIBuilder

The builder instance for chaining.

Exceptions

ArgumentNullException

builder.