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