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

ReactiveCommandMixins Class

Summary

Extension methods associated with the ReactiveCommand class.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["ReactiveCommandMixins"] class Type type-node

Syntax

public static class ReactiveCommandMixins

Methods

Name Value Summary
InvokeCommand<T, TResult, TTarget>(IObservable<T>, TTarget, Expression<Func<TTarget, ReactiveCommandBase<T, TResult>>>) IDisposable
A utility method that will pipe an Observable to an ICommand (i.e. it will first call its CanExecute with the provided value, then if the command can be executed, Execute() will be called).
static
InvokeCommand<T, TResult>(IObservable<T>, ReactiveCommandBase<T, TResult>) IDisposable
A utility method that will pipe an Observable to an ICommand (i.e. it will first call its CanExecute with the provided value, then if the command can be executed, Execute() will be called).
static
InvokeCommand<T, TTarget>(IObservable<T>, TTarget, Expression<Func<TTarget, ICommand?>>) IDisposable
A utility method that will pipe an Observable to an ICommand (i.e. it will first call its CanExecute with the provided value, then if the command can be executed, Execute() will be called).
static
InvokeCommand<T>(IObservable<T>, ICommand?) IDisposable
A utility method that will pipe an Observable to an ICommand (i.e. it will first call its CanExecute with the provided value, then if the command can be executed, Execute() will be called).
static

Extension Methods

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