Exemple #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;
 }
Exemple #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/");
 }
Exemple #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/");
 }
Exemple #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;
 }
Exemple #5
0
 protected ChallengeBase(
     IHtfContext htfContext,
     ITeamLogic teamLogic, IChallengeLogic challengeLogic, IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
 {
     _htfContext     = htfContext;
     _teamLogic      = teamLogic;
     _challengeLogic = challengeLogic;
     _dashboardLogic = dashboardLogic;
     _historyLogic   = historyLogic;
 }
Exemple #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;
 }
Exemple #8
0
 public DashboardController(ITeamLogic teamLogic, IDashboardLogic dashboardLogic, IHistoryLogic historyLogic)
 {
     _teamLogic      = teamLogic;
     _dashboardLogic = dashboardLogic;
     _historyLogic   = historyLogic;
 }
Exemple #9
0
 public DashboardController(IDashboardLogic dashboardLogic)
 {
     _dashboardLogic = dashboardLogic;
 }