IMessageBus Interface

Namespace
Shiny
graph BT Type["IMessageBus"] class Type type-node

Syntax

public interface IMessageBus

Methods

Name Value Summary
HasSubscribers<T>() bool
Listener<T>() IObservable<T>
Publish(object) void

Extension Methods

Name Value Summary
GetPropertyInfo<IMessageBus, TRet>(Expression<Func<IMessageBus, TRet>>) PropertyInfo
Reflects out property information based on the expression value
Listener<T>(string) IObservable<T>
Publish<T>(string, T) void
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectGet<IMessageBus, TReturn>(Expression<Func<IMessageBus, TReturn>>) TReturn
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub