コード例 #1
0
 public DbStatisticsJob(ILogger <DbStatisticsJob> logger, IEasyCachingProviderFactory providerFactory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository)
 {
     _logger           = logger;
     _providerFactory  = providerFactory;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
 }
コード例 #2
0
 public DataGroupBy10MinJob(ILogger <DataGroupBy10MinJob> logger, IEasyCachingProviderFactory providerFactory, IMJLogOtherRepository repository, IMJLog3Repository mjlog3repository)
 {
     _logger           = logger;
     _providerFactory  = providerFactory;
     _repository       = repository;
     _mjlog3repository = mjlog3repository;
 }
コード例 #3
0
 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;
 }
コード例 #5
0
        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;
        }