The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

Registrations Class

Summary

The main registration for common classes for the Splat dependency injection. We have code that runs reflection through the different ReactiveUI classes searching for IWantsToRegisterStuff and will register all our required DI interfaces. The registered items in this classes are common for all Platforms. To get these registrations after the main ReactiveUI Initialization use the DependencyResolverMixins.InitializeReactiveUI() extension method.
Namespace
ReactiveUI.XamForms
Interfaces
  • IWantsToRegisterStuff
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IWantsToRegisterStuff"] Type["Registrations"] class Type type-node

Syntax

public class Registrations : IWantsToRegisterStuff

Methods

Name Value Summary
Register(Action<Func<object>, Type>) void
Register platform dependencies inside Splat.

Extension Methods

Name Value Summary
BindCommand<Registrations, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<Registrations, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<Registrations, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<Registrations, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<Registrations, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<Registrations, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<Registrations, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<Registrations, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<Registrations, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<Registrations, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<Registrations, TViewModel, TViewProperty>(TViewModel?, Expression<Func<Registrations, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<Registrations, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<Registrations, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<Registrations, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<Registrations, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<Registrations, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<Registrations, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Expression<Func<Registrations, IObservable<T8>?>>, Expression<Func<Registrations, IObservable<T9>?>>, Expression<Func<Registrations, IObservable<T10>?>>, Expression<Func<Registrations, IObservable<T11>?>>, Expression<Func<Registrations, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Expression<Func<Registrations, IObservable<T8>?>>, Expression<Func<Registrations, IObservable<T9>?>>, Expression<Func<Registrations, IObservable<T10>?>>, Expression<Func<Registrations, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Expression<Func<Registrations, IObservable<T8>?>>, Expression<Func<Registrations, IObservable<T9>?>>, Expression<Func<Registrations, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Expression<Func<Registrations, IObservable<T8>?>>, Expression<Func<Registrations, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Expression<Func<Registrations, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Expression<Func<Registrations, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Expression<Func<Registrations, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4, T5>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Expression<Func<Registrations, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3, T4>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Expression<Func<Registrations, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2, T3>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Expression<Func<Registrations, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet, T1, T2>(Expression<Func<Registrations, IObservable<T1>?>>, Expression<Func<Registrations, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<Registrations, TRet>(Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>, Expression<Func<Registrations, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<Registrations, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.

See Also