public DailySummaryJob(IProjectRepository projectRepository, IOrganizationRepository organizationRepository, IUserRepository userRepository, IEventRepository eventRepository, EventStats stats, IMailer mailer, ICacheClient cacheClient, ILoggerFactory loggerFactory = null) : base(loggerFactory) { _projectRepository = projectRepository; _organizationRepository = organizationRepository; _userRepository = userRepository; _eventRepository = eventRepository; _stats = stats; _mailer = mailer; _lockProvider = new ThrottlingLockProvider(cacheClient, 1, TimeSpan.FromHours(1)); }
public DailySummaryJob(IProjectRepository projectRepository, IOrganizationRepository organizationRepository, IUserRepository userRepository, IStackRepository stackRepository, IEventRepository eventRepository, EventStats stats, IMailer mailer, ILockProvider lockProvider) { _projectRepository = projectRepository; _organizationRepository = organizationRepository; _userRepository = userRepository; _stackRepository = stackRepository; _eventRepository = eventRepository; _stats = stats; _mailer = mailer; _lockProvider = lockProvider; }
public StatsController(IOrganizationRepository organizationRepository, IProjectRepository projectRepository, IStackRepository stackRepository, EventStats stats) { _organizationRepository = organizationRepository; _projectRepository = projectRepository; _stackRepository = stackRepository; _stats = stats; }
public StatsController(IOrganizationRepository organizationRepository, EventStats stats, ILogger<StatsController> logger) { _organizationRepository = organizationRepository; _stats = stats; _logger = logger; }