public void SendPersonalChat(string message, ChatRoom room) { Console.WriteLine("\t(Personal)Sent from {0}: {1}", _name, message); Program.Logging(String.Format($"(Personal)Sent from {_name}: {message}") + Environment.NewLine); room.Send("\t(Personal)" + message, _name); }
public void Send(string message) { Console.WriteLine("Sent from {0}: {1}", _name, message); Program.Logging(String.Format($"Sent from {_name}: {message}") + Environment.NewLine); _chatRoom.Send(message, _name); }