コード例 #1
0
 public override void Send(string msg, Colleague1 colleage)
 {
     if (Colleague1 == colleage)
     {
         Colleague2.Notify(msg);
     }
     else
     {
         Colleague1.Notify(msg);
     }
 }
コード例 #2
0
 public abstract void Send(string msg, Colleague1 colleage);