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

MessageBusExtensions Class

Summary

Message bus testing extensions.
Namespace
ReactiveUI.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["MessageBusExtensions"] class Type type-node

Syntax

public static class MessageBusExtensions

Methods

Name Value Summary
With(IMessageBus, Action) void
Override the default Message Bus during the specified block.
static
With<TRet>(IMessageBus, Func<TRet>) TRet
Override the default Message Bus during the specified block.
static
WithMessageBus(IMessageBus) IDisposable
WithMessageBus allows you to override the default Message Bus implementation until the object returned is disposed. If a message bus is not specified, a default empty one is created.
static

Extension Methods

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