public DbStatisticsJob(ILogger <DbStatisticsJob> logger, IEasyCachingProviderFactory providerFactory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository)
 {
     _logger           = logger;
     _providerFactory  = providerFactory;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
 }
 public DataGroupBy10MinJob(ILogger <DataGroupBy10MinJob> logger, IEasyCachingProviderFactory providerFactory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository)
 {
     _logger           = logger;
     _providerFactory  = providerFactory;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
 }
 public LoadDataService(ILogger <LoadDataService> logger, IServiceProvider IocContainer, IEasyCachingProviderFactory factory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository, ICacheManage cache)
 {
     _logger           = logger;
     _factory          = factory;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
     _cache            = cache;
 }
Пример #4
0
 public CacheManage(IEasyCachingProviderFactory factory, IMemoryCache memoryCache, ILogger <CacheManage> logger, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository)
 {
     _logger           = logger;
     _factory          = factory;
     _redisProvider    = _factory.GetRedisProvider("userAction");
     _memoryCache      = memoryCache;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
 }
        public QuartzManager(ILogger <QuartzManager> logger, IServiceProvider IocContainer, IEasyCachingProviderFactory factory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository, ICacheManage cache)
        {
            _logger = logger;
            var           schedulerFactory = new StdSchedulerFactory();
            IOCJobFactory iocJobfactory    = new IOCJobFactory(IocContainer);

            Scheduler            = schedulerFactory.GetScheduler().Result;
            Scheduler.JobFactory = iocJobfactory;
            Scheduler.Start().Wait();
            _factory          = factory;
            _repository       = repository;
            _mjlog3repository = mjlog3repository;
            _cache            = cache;
        }