예제 #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;
 }