Ejemplo n.º 1
0
 public ExcelIEService(IDbService dbService, IExcelIEDomainService excelIEDomainService, ICapPublisher capPublisher, IRedisOperation redis, IExcelExporter IExcelExporter, IOss oss, ILogger <ExcelIEService> logger)
 {
     _dbService            = dbService;
     _excelIEDomainService = excelIEDomainService;
     _capPublisher         = capPublisher;
     _redis          = redis;
     _iExcelExporter = IExcelExporter;
     _oss            = oss;
     _logger         = logger;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     释放
 /// </summary>
 public void Dispose()
 {
     _RedisOperation = null;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="logger">日志</param>
 /// <param name="basicDataRepo"></param>
 public DbService(IUnitOfWork <SCMExcelIEContext> scmUnit, IUnitOfWork <UFX_MASTERContext> amUnit, IRedisOperation redis)
 {
     _scmUnit = scmUnit;
     _amUnit  = amUnit;
     _redis   = redis;
 }