public void ReceiveMessage(object sender, Notification notification) { if (notification == null) { throw new ArgumentNullException(nameof(notification)); } Debug.WriteLine(notification.ToString()); }
public void ReceiveMessage(object sender, Notification notification) { _notifications.Add(notification); }