コード例 #1
0
 public PredsApiController(IMemoryCache cache, IConfiguration configuration, IDataContext context,
                           IFixtureParser parser, ILeagueTableService leagueTableService)
 {
     this.cache              = cache;
     this.context            = context;
     this.parser             = parser;
     this.leagueTableService = leagueTableService;
 }
コード例 #2
0
        public LeagueTablePresenter(ILeagueTableView view, ILeagueTableService leagueTableService)
            : base(view)
        {
            Guard.WhenArgument(leagueTableService, "leagueTableService").IsNull().Throw();
            this.leagueTableService = leagueTableService;

            this.View.OnGetLeagueTableData += this.View_OnGetLeaguesTable;
        }
コード例 #3
0
 public LeagueStatisticsController(ILeagueTableService leagueTableService)
 {
     _leagueTableService = leagueTableService;
 }
コード例 #4
0
 public LeagueTableController(ILeagueTableService leagueTableService)
 {
     this.leagueTableService = leagueTableService;
 }