Dispatch a message thus
MessageDispatcher<string, string>.Dispatch("foo", "bar");
Register a handler to receive a message thus
// Register a handler for "foo" that accepts messages of type string
MessageDispatcher<string, string>.RegisterHandler("foo", delegate (string message)
{
// ...
});