コード例 #1
0
 //Constructor
 public MarketingFirm(ISweepstakesManager management)
 {
     this.management = management;
 }
コード例 #2
0
 public MarketingFirm(ISweepstakesManager sweepstakesManager)
 {
     this.sweepStakesManager = sweepstakesManager;
 }
コード例 #3
0
 public MarketingFirm(ISweepstakesManager storageType)
 {
     CreateSweepstakes(storageType);
     SeeWinners(storageType, counter);;
 }
コード例 #4
0
 // Constructor
 public MarketingFirm(ISweepstakesManager manager)
 {
     this.manager  = manager;                          // dependancy injection
     managerChoice = UserInterface.GetManagerOption(); // Grab GetManagerOption from UserInterface
     sweepName     = UserInterface.GetSweepstakeName();
 }
コード例 #5
0
 //constructor
 public MarketingFirm(ISweepstakesManager manager)
 {
     _manager = manager;
 }
コード例 #6
0
 public void RunSim()
 {
     ISweepstakesManager sweepstakesChoice = ManagerFactory.Factory(GetInput());
     MarketingFirm       marketingFirm     = new MarketingFirm(sweepstakesChoice);
 }
コード例 #7
0
ファイル: MarketingFirm.cs プロジェクト: kyleeq/Sweep-Stakes
 // constructor
 public MarketingFirm(ISweepstakesManager sweepstakesManager)
 {
     SweepstakesManager = sweepstakesManager;
 }
コード例 #8
0
ファイル: Program.cs プロジェクト: trentdaniels/SweepStakes
 public static void Main(string[] args)
 {
     ISweepstakesManager manager       = UserInterface.GetManager();
     MarketingFirm       marketingFirm = new MarketingFirm(manager);
 }
コード例 #9
0
ファイル: MarketingFirm.cs プロジェクト: erapkin/Sweepstakes_
 public MarketingFirm(ISweepstakesManager sweepstakesManager, Random random)
 {
     manager = sweepstakesManager;
 }
コード例 #10
0
        //CONSTRUCTOR

        //MEMBER METHODS

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