Пример #1
0
 public MirrorUploader(ILogger <MirrorUploader> logger, AppSettings settings, SqlService sql, QuickSync quickSync, ArchiveMaintainer archives, DiscordWebHook discord)
     : base(logger, settings, quickSync, TimeSpan.FromHours(1))
 {
     _sql      = sql;
     _archives = archives;
     _discord  = discord;
 }
Пример #2
0
 public MirrorQueueService(ILogger <MirrorQueueService> logger, AppSettings settings, QuickSync quickSync,
                           DiscordWebHook discordWebHook, SqlService sqlService) :
     base(logger, settings, quickSync, TimeSpan.FromMinutes(5))
 {
     _discord = discordWebHook;
     _sql     = sqlService;
 }
Пример #3
0
 public ArchiveDownloader(ILogger <ArchiveDownloader> logger, AppSettings settings, SqlService sql, ArchiveMaintainer archiveMaintainer, DiscordWebHook discord, QuickSync quickSync)
     : base(logger, settings, quickSync, TimeSpan.FromMinutes(10))
 {
     _sql = sql;
     _archiveMaintainer = archiveMaintainer;
     _discord           = discord;
 }
Пример #4
0
 public PatchBuilder(ILogger <PatchBuilder> logger, SqlService sql, AppSettings settings, ArchiveMaintainer maintainer,
                     DiscordWebHook discordWebHook, QuickSync quickSync) : base(logger, settings, quickSync, TimeSpan.FromMinutes(1))
 {
     _discordWebHook = discordWebHook;
     _sql            = sql;
     _maintainer     = maintainer;
 }
Пример #5
0
 public ModListDownloader(ILogger <ModListDownloader> logger, AppSettings settings, ArchiveMaintainer maintainer, SqlService sql, DiscordWebHook discord)
 {
     _logger     = logger;
     _settings   = settings;
     _maintainer = maintainer;
     _sql        = sql;
     _discord    = discord;
 }
Пример #6
0
 public ModListDownloader(ILogger <ModListDownloader> logger, AppSettings settings, ArchiveMaintainer maintainer, SqlService sql, DiscordWebHook discord, QuickSync quickSync)
     : base(logger, settings, quickSync, TimeSpan.FromMinutes(1))
 {
     _logger     = logger;
     _settings   = settings;
     _maintainer = maintainer;
     _sql        = sql;
     _discord    = discord;
 }
Пример #7
0
 public AuthoredFilesCleanup(ILogger <AuthoredFilesCleanup> logger, AppSettings settings, QuickSync quickSync, SqlService sql, DiscordWebHook discord) : base(logger, settings, quickSync, TimeSpan.FromHours(6))
 {
     _sql     = sql;
     _discord = discord;
 }
Пример #8
0
 public NexusPermissionsUpdater(ILogger <NexusPermissionsUpdater> logger, AppSettings settings, QuickSync quickSync, DiscordWebHook discord, SqlService sql) : base(logger, settings, quickSync, TimeSpan.FromMinutes(5))
 {
     _discord = discord;
     _sql     = sql;
 }
Пример #9
0
 public Watchdog(ILogger <Watchdog> logger, AppSettings settings, QuickSync quickSync, DiscordWebHook discordWebHook) : base(logger, settings, quickSync, TimeSpan.FromMinutes(5))
 {
     _discord = discordWebHook;
 }