public DataProcessing(ICacheManage cache, IMJLogOtherRepository repository, ILogger <DataProcessing> logger)
 {
     _cache      = cache;
     _repository = repository;
     _logger     = logger;
     //CapSubscribe = _Configuration["CAP:PublishName"];
 }
 public ContactPersonController(IContactPersonService contactPersonService, IAppServerService appServerService,
     ICacheManage cacheManage)
 {
     this.contactPersonService = contactPersonService;
     this.appServerService = appServerService;
     this.cacheManage = cacheManage;
 }
 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;
 }
 public ContactPersonController(IContactPersonService contactPersonService, IAppServerService appServerService,
                                ICacheManage cacheManage, ICommonFunctions commonFunctions)
 {
     this.contactPersonService = contactPersonService;
     this.appServerService     = appServerService;
     this.cacheManage          = cacheManage;
     this.commonFunctions      = commonFunctions;
 }
        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;
        }
 public DataService(IMJLogOtherRepository repository, ILogger <DataService> logger, ICacheManage cache)
 {
     _logger     = logger;
     _repository = repository;
     _cache      = cache;
 }
Пример #7
0
 public BaseController()
 {
     _cacheManage = ServiceContext.Instance.GetService <ICacheManage>();
 }
Пример #8
0
 public AppServerController(ICacheManage cacheManage, IAppServerService appServerService)
 {
     this.cacheManage      = cacheManage;
     this.appServerService = appServerService;
 }