示例#1
0
 public NotificationOptions(
     INotificationRoutesTable redisControllerRoutes,
     INotificationControllersTable notificationControllerRegistry)
 {
     ControllerRoutes   = redisControllerRoutes;
     ControllerRegistry = notificationControllerRegistry;
 }
示例#2
0
 public NotificationPubSubManager(
     IServiceProvider serviceProvider,
     NotificationKeyBuilder keyBuilder,
     RedisManager redisManager,
     NotificationOptions notificationOptions)
 {
     _redisManager       = redisManager;
     _routes             = notificationOptions.ControllerRoutes;
     _controllerRegistry = notificationOptions.ControllerRegistry;
     _keyBuilder         = keyBuilder;
     _serviceProvider    = serviceProvider;
 }