public void Clear() { messages.Clear(); MessagesUpdated?.Invoke(this, new EventArgs()); }
/// <summary> /// refres the messages of a client /// </summary> /// <param name="focus">ClientIndentifier focus : the client</param> public void refreshMessages(ClientIdentifier focus) { this.focus = focus; MessageNotifier.Invoke(filter()); }
public void Add(string messge) { messages.Add(messge); MessagesUpdated?.Invoke(this, new EventArgs()); }