Beispiel #1
0
 public void UnSubscribe(Subject subject)
 {
     this.SubjectCollection.Remove(subject);
     subject.MessageChanged -= Display;
 }
Beispiel #2
0
 public void Subscribe(Subject subject)
 {
     this.SubjectCollection.Add(subject);
     subject.MessageChanged += Display;
 }