public MainTask( ILogger <MainTask> logger, IBitCoinTradeService bitCoinTradeService, IGenericService genericService, INotificationService notificationService, IDecisionMakerService decisionMakerService, ITaskAwaitToBuy awaitToBuyTask, ITaskBuy BuyTask, ITaskSell SellTask, ITaskAwaitToSell awaiToSellTask, ICryptoCurrencyService cryptoCurrencyService ) { _notificateBotIsAlive = true; this._logger = logger; this._bitCoinTradeService = bitCoinTradeService; this._genericService = genericService; this._notificationService = notificationService; this._decisionMakerService = decisionMakerService; this._awaitToBuyTask = awaitToBuyTask; this._buyTask = BuyTask; this._cryptoCurrencyService = cryptoCurrencyService; this._sellTask = SellTask; this._awaiToSellTask = awaiToSellTask; }
public TaskAwaitToBuy(ILogger <TaskAwaitToBuy> logger, IDecisionMakerService decisionMakerService, ITaskBuy taskBuy) { this._logger = logger; this._decisionMakerService = decisionMakerService; this._taskBuy = taskBuy; }