public EntityNotificationService( IEventQueue <TContext> eventQueue, ILogger <EntityNotificationService <TContext> > logger) { _eventQueue = eventQueue; _logger = logger; _eventQueueSubscription = eventQueue.SubscribeEvent(EventNotificationsCategory, ProcessEvent); }