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
Perhaps I am misunderstanding something, but as far as I can tell, there is no way to check if anyone subscribes to a particular message.
The messenger.IsRegistered<T> extension method on IMessenger takes an object recipient argument.
But I do not want to check if a particular subscriber is registered for a message; I want to check if anyone at all is registered for a particular message before creating the instance of the message and sending it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Perhaps I am misunderstanding something, but as far as I can tell, there is no way to check if anyone subscribes to a particular message.
The
messenger.IsRegistered<T>
extension method onIMessenger
takes anobject recipient
argument.But I do not want to check if a particular subscriber is registered for a message; I want to check if anyone at all is registered for a particular message before creating the instance of the message and sending it.
Beta Was this translation helpful? Give feedback.
All reactions