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; }
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; }
private ClashRoyaleApiStandalone(IPlayerClient playerClient, IClanClient clanClient, ILocationClient locationClient, ITournamentClient tournamentClient, ICardClient cardClient) { PlayerClient = playerClient; ClanClient = clanClient; LocationClient = locationClient; TournamentClient = tournamentClient; CardClient = cardClient; }
/// <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>(); }
public TournamentService(ITournamentClient tournamentClient) { this.tournamentClient = tournamentClient; }
public TournamentProvider(ITournamentClient tournamentClient, IDataService dataService) { this.tournamentClient = tournamentClient; this.dataService = dataService; }