Exemple #1
0
 public MockMessageObservor(IMessageSubject subject)
 {
     this.subject = subject;
 }
Exemple #2
0
 public MessageObserver(IMessageSubject subject)
 {
     message = null;
     subject.AddObserver(this);
 }
 public MessageObserver(IMessageSubject subject)
 {
     message = null;
     subject.AddObserver(this);
 }
 public ConsoleObservor(IMessageSubject subject)
 {
     this.subject = subject;
 }