Beispiel #1
0
 public HangfireContribStartupFilter(
     IOptions <HangfireContribOptions> options,
     IOptions <BackgroundJobServerOptions> backgroundJobServerOptions,
     IOptions <DashboardOptions> dashboardOptions,
     IRecurringJobManager recurringJobManager,
     ILogger <HangfireContribStartupFilter> logger)
 {
     _contribOptions             = options.Value;
     _backgroundJobServerOptions = backgroundJobServerOptions.Value;
     _dashboardOptions           = dashboardOptions.Value;
     _recurringJobManager        = recurringJobManager;
     _logger = logger;
 }
Beispiel #2
0
 public HangfireContribStartupFilter(IOptions <HangfireContribOptions> options, IRecurringJobManager recurringJobManager, ILogger <HangfireContribStartupFilter> logger)
 {
     _options             = options.Value;
     _recurringJobManager = recurringJobManager;
     _logger = logger;
 }