public QueueNotificationAction(IMessageFactory messageFactory, IProjectHookRepository projectHookRepository, IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IErrorStackRepository errorStackRepository) { _messageFactory = messageFactory; _projectHookRepository = projectHookRepository; _organizationRepository = organizationRepository; _projectRepository = projectRepository; _errorStackRepository = errorStackRepository; }
public StackController(IErrorStackRepository repository, IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IProjectHookRepository projectHookRepository, IMessageFactory messageFactory, BillingManager billingManager, NotificationSender notificationSender, DataHelper dataHelper) : base(repository) { _organizationRepository = organizationRepository; _projectRepository = projectRepository; _projectHookRepository = projectHookRepository; _messageFactory = messageFactory; _billingManager = billingManager; _notificationSender = notificationSender; _dataHelper = dataHelper; }
public ExceptionlessMqServer(IRedisClientsManager clientsManager, IProjectRepository projectRepository, IUserRepository userRepository, IErrorStackRepository stackRepository, IOrganizationRepository organizationRepository, ErrorPipeline errorPipeline, ErrorStatsHelper errorStatsHelper, IProjectHookRepository projectHookRepository, ICacheClient cacheClient, IMailer mailer, IAppStatsClient stats) : base(clientsManager) { _projectRepository = projectRepository; _projectHookRepository = projectHookRepository; _userRepository = userRepository; _stackRepository = stackRepository; _organizationRepository = organizationRepository; _errorPipeline = errorPipeline; _errorStatsHelper = errorStatsHelper; _cacheClient = cacheClient; _mailer = mailer; _stats = stats; RegisterHandler<SummaryNotification>(ProcessSummaryNotification, ProcessSummaryNotificationException); RegisterHandler<ErrorNotification>(ProcessNotification, ProcessNotificationException); RegisterHandler<Error>(ProcessError, ProcessErrorException); RegisterHandler<WebHookNotification>(ProcessWebHookNotification, ProcessWebHookNotificationException); }
public ExceptionlessMqServer(IRedisClientsManager clientsManager, IProjectRepository projectRepository, IUserRepository userRepository, IStackRepository stackRepository, IOrganizationRepository organizationRepository, EventPipeline eventPipeline, EventStatsHelper eventStatsHelper, IProjectHookRepository projectHookRepository, ICacheClient cacheClient, IMailer mailer, IAppStatsClient stats) : base(clientsManager) { _projectRepository = projectRepository; _projectHookRepository = projectHookRepository; _userRepository = userRepository; _stackRepository = stackRepository; _organizationRepository = organizationRepository; _eventPipeline = eventPipeline; _eventStatsHelper = eventStatsHelper; _cacheClient = cacheClient; _mailer = mailer; _stats = stats; RegisterHandler <SummaryNotification>(ProcessSummaryNotification, ProcessSummaryNotificationException); RegisterHandler <EventNotification>(ProcessNotification, ProcessNotificationException); RegisterHandler <PersistentEvent>(ProcessEvent, ProcessEventException); RegisterHandler <WebHookNotification>(ProcessWebHookNotification, ProcessWebHookNotificationException); }