/// <summary>
 /// 构造函数
 /// </summary>
 public CacheController(IChinaAreaService chinaAreaService, ITBMDictionaryService iTBMDictionaryService, IDomain iDomain, ITBMMaterialFileService iMaterialService)
 {
     _chinaAreaService = chinaAreaService;
     _iTBMDictionaryService = iTBMDictionaryService;
     iDomain = _iDomain;
     _iMaterialService = iMaterialService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="logger"></param>
 /// <param name="mapper"></param>
 public TBMMaterialFileService(IDbContext dbContext, ILogger <TBMMaterialFileService> logger, IMapper mapper, ITBMDictionaryService dictionaryService, IMemoryCache memoryCache)
 {
     _db                = dbContext;
     _log               = logger;
     _mapper            = mapper;
     _dictionaryService = dictionaryService;
     _memoryCache       = memoryCache;
 }
Exemple #3
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public TBMDictionaryController(ITBMDictionaryService service)
 {
     _service = service;
 }