public ChatService( ISocketChatAdapter socketChatAdapter, IHttpChatAdapter httpChatAdapter, ILogManager logManager) { _socketChatAdapter = socketChatAdapter; _httpChatAdapter = httpChatAdapter; _logger = logManager.GetLogger <ChatService>(); _socketChatAdapter.MessageReceived.Subscribe(OnMessageReceived); _socketChatAdapter.MessageEdited.Subscribe(OnMessageEdited); }
public MockChatService(ISocketChatAdapter socketChatAdapter, IHttpChatAdapter httpChatAdapter, ILogManager logManager) : base(socketChatAdapter, httpChatAdapter, logManager) { }