Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     while (true) // Used to loop back to sweepstakesFactory to select another manager type if needed.
     {
         SweepstakesFactory sweepstakesFactory = new SweepstakesFactory();
         MarketingFirm      newFirm            = new MarketingFirm(sweepstakesFactory.DetermineManager(UserInterface.GetManagerType()));
         newFirm.DetermineMarketFirmAction();
     }
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     while (true)
     {
         SweepstakesFactory sweepstakesFactory = new SweepstakesFactory();
         MarketingFirm      newFirm            = new MarketingFirm(sweepstakesFactory.DetermineManager(UserInterface.GetManagerType()));
         newFirm.DetermineMarketFirmAction();
     }
 }