Register(IInbox, MessageType<T>, Action<T, IInboxHandlerContext>)
staticextension
public static IInbox Register<T>(this IInbox inbox, MessageType<T> messageType, Action<T, IInboxHandlerContext> handler)Registers a synchronous subject handler.
Parameters
inboxIInbox- The inbox.
messageTypeMessageType<T>- The subject and serializer binding.
handlerAction<T, IInboxHandlerContext>- The synchronous body and context delegate.
Returns
The inbox.
