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