Example #1
0
 public Challenge10(IHtfContext htfContext, ITeamLogic teamLogic, IChallengeLogic challengeLogic,
                    IDashboardLogic dashboardLogic, IHistoryLogic historyLogic, IImageLogic imageLogic)
     : base(htfContext, teamLogic, challengeLogic, dashboardLogic, historyLogic)
 {
     _htfContext = htfContext;
     _imageLogic = imageLogic;
 }
Example #2
0
 public Challenge13(IHtfContext htfContext, ITeamLogic teamLogic, IChallengeLogic challengeLogic,
                    IDashboardLogic dashboardLogic, IHistoryLogic historyLogic, IMemoryCache memoryCache)
     : base(htfContext, teamLogic, challengeLogic, dashboardLogic, historyLogic)
 {
     _cache  = memoryCache;
     _client = new RestClient("https://api.mapbox.com/geocoding/v5/mapbox.places/");
 }
Example #3
0
 public Challenge18(IHtfContext htfContext, ITeamLogic teamLogic, IChallengeLogic challengeLogic,
                    IDashboardLogic dashboardLogic, IHistoryLogic historyLogic, IMemoryCache memoryCache)
     : base(htfContext, teamLogic, challengeLogic, dashboardLogic, historyLogic)
 {
     _cache  = memoryCache;
     _client = new RestClient("https://pokeapi.co/api/v2/pokemon/");
 }
Example #4
0
 public Challenge01(IHtfContext htfContext, ITeamLogic teamLogic, IChallengeLogic challengeLogic,
                    IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
     : base(htfContext, teamLogic, challengeLogic, dashboardLogic, historyLogic)
 {
     _historyLogic   = historyLogic;
     _teamLogic      = teamLogic;
     _challengeLogic = challengeLogic;
 }
Example #5
0
 protected ChallengeBase(
     IHtfContext htfContext,
     ITeamLogic teamLogic, IChallengeLogic challengeLogic, IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
 {
     _htfContext     = htfContext;
     _teamLogic      = teamLogic;
     _challengeLogic = challengeLogic;
     _dashboardLogic = dashboardLogic;
     _historyLogic   = historyLogic;
 }
Example #6
0
 /// <summary>
 /// CHALLENGE 08:
 /// Variable parameters
 /// </summary>
 public Challenge09(IHtfContext htfContext, ITeamLogic teamLogic, IChallengeLogic challengeLogic,
                    IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
     : base(htfContext, teamLogic, challengeLogic, dashboardLogic, historyLogic)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DashboardController" /> class.
 /// </summary>
 /// <param name="logic">The busines logic interface, injected through Unity with real or testable mock.</param>
 public DashboardController(IDashboardLogic logic)
 {
     this.businessLogic = logic;
 }
Example #8
0
 public DashboardController(ITeamLogic teamLogic, IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
 {
     _teamLogic      = teamLogic;
     _dashboardLogic = dashboardLogic;
     _historyLogic   = historyLogic;
 }
Example #9
0
 public DashboardController(IDashboardLogic dashboardLogic)
 {
     _dashboardLogic = dashboardLogic;
 }