protected bool Equals(Notification other) { return _type == other._type && _timeStamp.Equals(other._timeStamp) && string.Equals(_category, other._category) && string.Equals(_message, other._message); }
public void Publish(Notification notification) { _notification.OnNext(notification); }