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

ViewForMixins Class

Summary

A set of extension methods to help wire up View and ViewModel activation.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["ViewForMixins"] class Type type-node

Syntax

public static class ViewForMixins

Methods

Name Value Summary
WhenActivated(IActivatableView, Action<Action<IDisposable>>) IDisposable
WhenActivated allows you to register a Func to be called when a View is Activated.
static
WhenActivated(IActivatableView, Action<Action<IDisposable>>, IViewFor) IDisposable
WhenActivated allows you to register a Func to be called when a View is Activated.
static
WhenActivated(IActivatableView, Action<CompositeDisposable>, IViewFor?) IDisposable
WhenActivated allows you to register a Func to be called when a View is Activated.
static
WhenActivated(IActivatableView, Func<IEnumerable<IDisposable>>) IDisposable
WhenActivated allows you to register a Func to be called when a View is Activated.
static
WhenActivated(IActivatableView, Func<IEnumerable<IDisposable>>, IViewFor?) IDisposable
WhenActivated allows you to register a Func to be called when a View is Activated.
static
WhenActivated(IActivatableViewModel, Action<Action<IDisposable>>) void
WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
static
WhenActivated(IActivatableViewModel, Action<CompositeDisposable>) void
WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
static
WhenActivated(IActivatableViewModel, Func<IEnumerable<IDisposable>>) void
WhenActivated allows you to register a Func to be called when a ViewModel's View is Activated.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.