private void MessageReceived(string message) { MessageResponse response = JsonConvert.DeserializeObject <MessageResponse>(message); MessageReceived(response); }