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