private void OnNotification(NotifycationType type) { if (type == NotifycationType.SubscribeUpdated) { ShowServerList(); } }
public Notification(Gig gig, NotifycationType type) { if (gig == null) { throw new ArgumentNullException("gig"); } Gig = gig; Type = type; DateTime = DateTime.Now; }
public void TryNotify(NotifycationType type) { OnNotification(type); }