public ProfitInfo(IMarketManager marketManager, INetworkInfo networkInfo, IPoolConfig poolConfig) { _logger = Log.ForContext <ProfitInfo>().ForContext("Component", poolConfig.Coin.Name); _poolConfig = poolConfig; _networkInfo = networkInfo; _marketManager = marketManager; _marketManager.Update += OnMarketUpdate; }
public ProfitInfo(IMarketManager marketManager, INetworkInfo networkInfo, IPoolConfig poolConfig) { _logger = Log.ForContext<ProfitInfo>().ForContext("Component", poolConfig.Coin.Name); _poolConfig = poolConfig; _networkInfo = networkInfo; _marketManager = marketManager; _marketManager.Update += OnMarketUpdate; }
public CurrencyConverter(IMarketManager marketManager) { _marketManager = marketManager; }
public MarketsController(IMapper mapper, IMarketManager manager) { _mapper = mapper; _manager = manager; }