Make it possible to feed in options to the Enumerate handler
This commit is contained in:
@@ -5,6 +5,7 @@ public class SubscriptionManager(SubscriptionCollection subscriptions) :
|
||||
{
|
||||
public IEnumerable<object?> GetHandlers(Type notificationType, object key)
|
||||
{
|
||||
var d = subscriptions;
|
||||
if (subscriptions.TryGetValue($"{(key is not null ? $"{key}:" : "")}{notificationType}",
|
||||
out List<WeakReference>? subscribers))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user