示例#1
0
 public PriceSrvc(ICryptoComparer cryptoComparer, IRepositoryBase <Currency> repo, ICacheBase cache, ILogger <PriceSrvc> logger)
 {
     _cryptoComparer = cryptoComparer;
     _repo           = repo;
     _cache          = cache;
     _logger         = logger;
 }
示例#2
0
 public Diagnostics(ILogger <Diagnostics> logger, ICryptoComparer cryptoComparer, IDistributedCache cache, IRepositoryBase <Configuration> repo)
 {
     _logger         = logger;
     _cryptoComparer = cryptoComparer;
     _cache          = cache;
     _repo           = repo;
 }