Ejemplo n.º 1
0
 public InputParserEntryPoint(IInteractionStrategy sender, DatabaseWorkerProxy proxy, string owmToken)
 {
     sender.Incoming += Incoming;
     _database        = proxy;
     _parser          = new InputParser();
     _directSender    = new OutcomingSender();
     _weather         = new OpenWeatherMap(owmToken);
 }
Ejemplo n.º 2
0
 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);
 }