public void UnSubscribe(NewsManager nlm) { nlm.NewsEvent -= PublishArrivedNews; }
/* To unsubscribe from the NewsEvent */ public void UnSubscribe(NewsManager nlm) { nlm.NewsEvent -= ReviewOnArrivedNews; }
public Publisher(NewsManager nlm) { /* Subscribe to the NewsManager for the notification.*/ nlm.NewsEvent += PublishArrivedNews; }
public Reviewer(NewsManager nlm) { /* Subscribe to the NewsManager for the notification.*/ nlm.NewsEvent += ReviewOnArrivedNews; }