public LiveCommunicationStrategy(IChatClient client)
 {
     _client              = client;
     _messageService      = Container.MessageServ;
     _connectivityService = Container.ConnServ;
     _chatIo              = Container.ChatIO;
 }
 public FirstConnectionStrategy(IChatClient client)
 {
     _client = client;
     _connectivityService = Container.ConnServ;
     _chatIo         = Container.ChatIO;
     _messageService = Container.MessageServ;
 }
Exemplo n.º 3
0
 static Container()
 {
     ChatIO = new ConsoleChatIO();
     Logger = new ConsoleLogger();
 }
Exemplo n.º 4
0
 public ChatClient()
 {
     _chatIO              = Container.ChatIO;
     _chatIO.OnUserInput += OnUserInput;
 }