public void Send(ChatMessage message) { _participants.ForEach(participant => participant.ReceiveMessage(message)); }
public void ReceiveMessage(ChatMessage message) { _messageWriter.Write(message); }