public static void RegisterEventPump <TCommand>(Pump pump) where TCommand : IEvent { SafeAdd <TCommand>(_eventPumps, pump); }
public static void RegisterNotificationPump <TCommand>(Pump pump) where TCommand : INotification { SafeAdd <TCommand>(_notificationPumps, pump); }
public static void RegisterQueryPump <TCommand>(Pump pump) where TCommand : IQuery { SafeAdd <TCommand>(_queryPumps, pump); }
public static void RegisterCommandPump <TCommand>(Pump pump) where TCommand : ICommand { SafeAdd <TCommand>(_commandPumps, pump); }