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