Пример #1
0
 public UIMediator(ICommandInvoker commandInvoker, IDogRacePalaceStadium dogRacePalaceStadium, IRacetrack racetrack, IBettingBank bettingBank)
 {
     _commandInvoker       = commandInvoker;
     _dogRacePalaceStadium = dogRacePalaceStadium;
     _racetrack            = racetrack;
     _bettingBank          = bettingBank;
 }
Пример #2
0
 public CommandPlaceBet(IBettingBank bettingBank, IDogRacePalaceStadium dogRacePalaceStadium, IRacetrack racetrack)
 {
     ActionCommand         = ActionCommandEnum.PlaceBet;
     _bettingBank          = bettingBank;
     _dogRacePalaceStadium = dogRacePalaceStadium;
     _racetrack            = racetrack;
 }
Пример #3
0
 public CommandDepositMoneyInGuyPocket(IDogRacePalaceStadium dogRacePalaceStadium, GuyNameEnum guyName, double depositAmount)
 {
     ActionCommand         = ActionCommandEnum.DepositMoneyInGuyPocket;
     _dogRacePalaceStadium = dogRacePalaceStadium;
     _depositAmount        = depositAmount;
 }
Пример #4
0
 public CommandDepositMoneyInGuyPocket(IDogRacePalaceStadium dogRacePalaceStadium)
 {
     ActionCommand         = ActionCommandEnum.DepositMoneyInGuyPocket;
     _dogRacePalaceStadium = dogRacePalaceStadium;
 }
Пример #5
0
 public CommandNewGuyToPalaceStadium(IDogRacePalaceStadium dogRacePalaceStadium)
 {
     ActionCommand         = ActionCommandEnum.NewGuyToPalaceStadium;
     _dogRacePalaceStadium = dogRacePalaceStadium;
 }