Exemple #1
0
 //Constructor
 public MarketingFirm(ISweepstakesManager management)
 {
     this.management = management;
 }
Exemple #2
0
 public MarketingFirm(ISweepstakesManager sweepstakesManager)
 {
     this.sweepStakesManager = sweepstakesManager;
 }
Exemple #3
0
 public MarketingFirm(ISweepstakesManager storageType)
 {
     CreateSweepstakes(storageType);
     SeeWinners(storageType, counter);;
 }
Exemple #4
0
 // Constructor
 public MarketingFirm(ISweepstakesManager manager)
 {
     this.manager  = manager;                          // dependancy injection
     managerChoice = UserInterface.GetManagerOption(); // Grab GetManagerOption from UserInterface
     sweepName     = UserInterface.GetSweepstakeName();
 }
 //constructor
 public MarketingFirm(ISweepstakesManager manager)
 {
     _manager = manager;
 }
Exemple #6
0
 public void RunSim()
 {
     ISweepstakesManager sweepstakesChoice = ManagerFactory.Factory(GetInput());
     MarketingFirm       marketingFirm     = new MarketingFirm(sweepstakesChoice);
 }
Exemple #7
0
 // constructor
 public MarketingFirm(ISweepstakesManager sweepstakesManager)
 {
     SweepstakesManager = sweepstakesManager;
 }
Exemple #8
0
 public static void Main(string[] args)
 {
     ISweepstakesManager manager       = UserInterface.GetManager();
     MarketingFirm       marketingFirm = new MarketingFirm(manager);
 }
 public MarketingFirm(ISweepstakesManager sweepstakesManager, Random random)
 {
     manager = sweepstakesManager;
 }
        //CONSTRUCTOR

        //MEMBER METHODS

        public void ChooseManager()
        {
            manager = UserInterface.PickStackOrQueue();
        }
 public MarketingFirm(ISweepstakesManager sweepstakesManager)
 {
     sweepstakesManagers     = new List <ISweepstakesManager>();
     this.sweepstakesManager = sweepstakesManager;
 }
 // Constructor
 public MarketingFirm(ISweepstakesManager manager)
 {
     this.manager = manager;
     UserInterface.DisplayManagerMenu(manager);
 }
Exemple #13
0
 public MarketingFirm()
 {
     sweepstakesManager = ValueOfManager();
 }
 public void CreateMarketingFirmWithManager(ISweepstakesManager manager)
 {
     MaketingFirm maketingFirm = new MaketingFirm(manager);
 }
Exemple #15
0
 public MarketingFirm(ISweepstakesManager manager)
 {
     this.manager = manager;
     quit         = false;
 }
Exemple #16
0
 //ctor
 public MarketingFirm(ISweepstakesManager SweepstakeQueueManager, ISweepstakesManager SweepstakeStackManager, string contestant)
 {
     this.SweepstakeQueueManager = SweepstakeQueueManager;
     this.SweepstakesManager     = SweepstakeStackManager;
 }
Exemple #17
0
 //constructor
 public MarketingFirm(ISweepstakesManager user)
 {
     manager = user;
 }
 public MarketingFirm(ISweepstakesManager manager, string name)
 {
     _manager  = manager;
     this.name = name;
 }