public override void SendMessage(string message, TechnologyCompany colleague) { if (colleague == _vatanAtechnologyCompany) { _vatanAtechnologyCompany.Notify(message); } else if (colleague == _vatanBtechnologyCompany) { _vatanBtechnologyCompany.Notify(message); } }
abstract public void SendMessage(string message, TechnologyCompany technologyCompany);