You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewInvalidOperationException($"No handler found for message type {mt.FullName}");
82
+
thrownewInvalidOperationException($"No handler found for message type {MessageTypeKey.Get(mt)}");
83
83
84
84
if(handlersList.Count>1)
85
-
thrownewInvalidOperationException($"Multiple handlers found for message type {mt.FullName}. Use Publish for multiple handlers.");
85
+
thrownewInvalidOperationException($"Multiple handlers found for message type {MessageTypeKey.Get(mt)}. Use Publish for multiple handlers.");
86
86
87
87
varhandler=handlersList.First();
88
88
if(handler.IsAsync)
89
-
thrownewInvalidOperationException($"Cannot use synchronous Invoke with async-only handler for message type {mt.FullName}. Use InvokeAsync instead.");
89
+
thrownewInvalidOperationException($"Cannot use synchronous Invoke with async-only handler for message type {MessageTypeKey.Get(mt)}. Use InvokeAsync instead.");
thrownewInvalidOperationException($"No handler found for message type {key.MessageType.FullName}");
104
+
thrownewInvalidOperationException($"No handler found for message type {MessageTypeKey.Get(key.MessageType)}");
105
105
106
106
if(handlersList.Count>1)
107
-
thrownewInvalidOperationException($"Multiple handlers found for message type {key.MessageType.FullName}. Use PublishAsync for multiple handlers.");
107
+
thrownewInvalidOperationException($"Multiple handlers found for message type {MessageTypeKey.Get(key.MessageType)}. Use PublishAsync for multiple handlers.");
@@ -120,14 +120,14 @@ private InvokeResponseDelegate GetInvokeResponseDelegate(Type messageType, Type
120
120
varhandlersList=handlers.ToList();
121
121
122
122
if(handlersList.Count==0)
123
-
thrownewInvalidOperationException($"No handler found for message type {key.MessageType.FullName}");
123
+
thrownewInvalidOperationException($"No handler found for message type {MessageTypeKey.Get(key.MessageType)}");
124
124
125
125
if(handlersList.Count>1)
126
-
thrownewInvalidOperationException($"Multiple handlers found for message type {key.MessageType.FullName}. Use Publish for multiple handlers.");
126
+
thrownewInvalidOperationException($"Multiple handlers found for message type {MessageTypeKey.Get(key.MessageType)}. Use Publish for multiple handlers.");
127
127
128
128
varhandler=handlersList.First();
129
129
if(handler.IsAsync)
130
-
thrownewInvalidOperationException($"Cannot use synchronous Invoke with async-only handler for message type {key.MessageType.FullName}. Use InvokeAsync instead.");
130
+
thrownewInvalidOperationException($"Cannot use synchronous Invoke with async-only handler for message type {MessageTypeKey.Get(key.MessageType)}. Use InvokeAsync instead.");
0 commit comments