Пример #1
0
 public void UnSubscribe(NewsManager nlm)
 {
     nlm.NewsEvent -= PublishArrivedNews;
 }
Пример #2
0
 /* To unsubscribe from the NewsEvent */
 public void UnSubscribe(NewsManager nlm)
 {
     nlm.NewsEvent -= ReviewOnArrivedNews;
 }
Пример #3
0
 public Publisher(NewsManager nlm)
 {
     /* Subscribe to the NewsManager for the notification.*/
     nlm.NewsEvent += PublishArrivedNews;
 }
Пример #4
0
 public Reviewer(NewsManager nlm)
 {
     /* Subscribe to the NewsManager for the notification.*/
     nlm.NewsEvent += ReviewOnArrivedNews;
 }