コード例 #1
0
 public HomeController(ICarousel carouselService, IProduct productService, INewsService newsService, ISuccess successService, IndexAdvantageIDAL advantageService, IndexMainBusinessIDAL mainbussinessService)
 {
     _carouselService      = carouselService;
     _productService       = productService;
     _newsService          = newsService;
     _successService       = successService;
     _advantageService     = advantageService;
     _mainbussinessService = mainbussinessService;
 }
コード例 #2
0
 public Game(IFootballDatabase database, IBall ball)
 {
     db        = database;
     players   = new List <Player>();
     this.ball = ball;
     Deck      = new Deck(db);
     success   = new Success(this);
     MovesLeft = MOVES_AMOUNT;
 }
コード例 #3
0
 public override void Accept(ISuccess success) => success.Apply(this, WasSuccessfullyExecuted);
コード例 #4
0
 public SuccessController(ISuccess successService, IFriendlyLink friendlylinkservice, IProduct product)
 {
     _successService      = successService;
     _friendlylinkservice = friendlylinkservice;
     _product             = product;
 }
コード例 #5
0
ファイル: Action.cs プロジェクト: MayerMax/oop_project
 public abstract void Accept(ISuccess success);