public TournamentController(
     IRequestFieldExtractor extractor,
     ITournamentClient tournamentClient)
 {
     requestFieldExtractor = extractor;
     tournamentService     = new TournamentService(tournamentClient);
 }
 private RoyaleApiStandalone(IVersionClient versionClient, IPlayerClient playerClient, IClanClient clanClient, ITournamentClient tournamentClient)
 {
     VersionClient    = versionClient;
     PlayerClient     = playerClient;
     ClanClient       = clanClient;
     TournamentClient = tournamentClient;
 }
Exemple #3
0
 public DataService(IBetListClient client, IConvert convert, ITournamentClient tournamentClient, ITeamClient teamClient, IMatchService matchService)
 {
     this.betListClient    = client;
     this.convert          = convert;
     this.tournamentClient = tournamentClient;
     this.teamClient       = teamClient;
     this.matchService     = matchService;
 }
Exemple #4
0
 private ClashRoyaleApiStandalone(IPlayerClient playerClient, IClanClient clanClient, ILocationClient locationClient, ITournamentClient tournamentClient, ICardClient cardClient)
 {
     PlayerClient     = playerClient;
     ClanClient       = clanClient;
     LocationClient   = locationClient;
     TournamentClient = tournamentClient;
     CardClient       = cardClient;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiClient" /> class.
 /// </summary>
 /// <param name="golfClubClient">The golf club client.</param>
 /// <param name="tournamentClient">The tournament client.</param>
 /// <param name="reportingClient">The reporting client.</param>
 /// <param name="modelFactory">The model factory.</param>
 public ApiClient(IGolfClubClient golfClubClient,
                  ITournamentClient tournamentClient,
                  IReportingClient reportingClient,
                  IModelFactory modelFactory)
 {
     this.GolfClubClient   = golfClubClient;
     this.TournamentClient = tournamentClient;
     this.ReportingClient  = reportingClient;
     this.ModelFactory     = modelFactory;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiClient" /> class.
 /// </summary>
 /// <param name="playerClient">The player client.</param>
 /// <param name="golfClubClient">The golf club client.</param>
 /// <param name="tournamentClient">The tournament client.</param>
 /// <param name="reportingClient">The reporting client.</param>
 public ApiClient(IPlayerClient playerClient,
                  IGolfClubClient golfClubClient,
                  ITournamentClient tournamentClient,
                  IReportingClient reportingClient)
 {
     this.PlayerClient     = playerClient;
     this.GolfClubClient   = golfClubClient;
     this.TournamentClient = tournamentClient;
     this.ReportingClient  = reportingClient;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestDataGenerator"/> class.
 /// </summary>
 /// <param name="golfClubClient">The golf club client.</param>
 /// <param name="playerClient">The player client.</param>
 /// <param name="tournamentClient">The tournament client.</param>
 /// <param name="addressResolver">The address resolver.</param>
 public TestDataGenerator(IGolfClubClient golfClubClient,
                          IPlayerClient playerClient,
                          ITournamentClient tournamentClient,
                          Func <String, String> addressResolver)
 {
     this.GolfClubClient   = golfClubClient;
     this.PlayerClient     = playerClient;
     this.TournamentClient = tournamentClient;
     this.HttpClient       = new HttpClient();
     this.AddressResolver  = addressResolver;
     this.AccessTokens     = new Dictionary <String, TokenResponse>();
 }
Exemple #8
0
 public TournamentService(ITournamentClient tournamentClient)
 {
     this.tournamentClient = tournamentClient;
 }
Exemple #9
0
 public TournamentProvider(ITournamentClient tournamentClient, IDataService dataService)
 {
     this.tournamentClient = tournamentClient;
     this.dataService      = dataService;
 }