public InputParserEntryPoint(IInteractionStrategy sender, DatabaseWorkerProxy proxy, string owmToken) { sender.Incoming += Incoming; _database = proxy; _parser = new InputParser(); _directSender = new OutcomingSender(); _weather = new OpenWeatherMap(owmToken); }
private void InteractionInitialize(InteractionMode iMode) { _interaction = TeleInteraction(iMode); _callbackProxy = new DatabaseWorkerCallback(); _proxy = new DatabaseWorkerProxy(_callbackProxy); _parser = new InputParserEntryPoint(_interaction, _proxy, _owmToken); _neuralNetworkEntryPoint = new NeuralNetworkEntryPoint(_interaction); }