예제 #1
0
 public override void SendMessage(string message, TechnologyCompany colleague)
 {
     if (colleague == _vatanAtechnologyCompany)
     {
         _vatanAtechnologyCompany.Notify(message);
     }
     else if (colleague == _vatanBtechnologyCompany)
     {
         _vatanBtechnologyCompany.Notify(message);
     }
 }
예제 #2
0
 abstract public void SendMessage(string message, TechnologyCompany technologyCompany);