public JobQueue( IOptions <AbpBackgroundJobOptions> backgroundJobOptions, IOptions <AbpRabbitMqBackgroundJobOptions> rabbitMqAbpBackgroundJobOptions, IChannelPool channelPool, IRabbitMqSerializer serializer, IBackgroundJobExecuter jobExecuter, IServiceScopeFactory serviceScopeFactory, IExceptionNotifier exceptionNotifier) { AbpBackgroundJobOptions = backgroundJobOptions.Value; AbpRabbitMqBackgroundJobOptions = rabbitMqAbpBackgroundJobOptions.Value; Serializer = serializer; JobExecuter = jobExecuter; ServiceScopeFactory = serviceScopeFactory; ExceptionNotifier = exceptionNotifier; ChannelPool = channelPool; JobConfiguration = AbpBackgroundJobOptions.GetJob(typeof(TArgs)); QueueConfiguration = GetOrCreateJobQueueConfiguration(); Logger = NullLogger <JobQueue <TArgs> > .Instance; }
public AbpDashboardOptionsProvider(IOptions <AbpBackgroundJobOptions> abpBackgroundJobOptions) { AbpBackgroundJobOptions = abpBackgroundJobOptions.Value; }
public BackgroundJobExecuter(IOptions <AbpBackgroundJobOptions> options) { Options = options.Value; Logger = NullLogger <BackgroundJobExecuter> .Instance; }