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

ViewModelActionExtensions.

InvokeViewModelAction<T>(object, Action<T>) Method

Summary

This is a thing I lifted from Prism.
Namespace
Sextant
Containing Type
ViewModelActionExtensions

Syntax

public static object InvokeViewModelAction<T>(this object viewModel, Action<T> action) 
    where T : class

Type Parameters

Name Description
T A type.

Parameters

Name Type Description
viewModel object The view model.
action Action<T> An action.

Return Value

Type Description
object The object.