コード例 #1
0
 public override void Send(string message, Colleague colleague)
 {
     if(colleague == colleague1)
     {
         colleague2.Notity(message);
     }
     else
     {
         colleague1.Notity(message);
     }
 }
コード例 #2
0
 public abstract void Send(string message, Colleague colleague);
コード例 #3
0
 public abstract void Send(string message, Colleague colleague);