public StashClient(string baseUrl, string base64Auth = null, bool usePersonalAccessTokenForAuthentication = false) { var schemeToUse = usePersonalAccessTokenForAuthentication ? Api.Enums.AuthScheme.Bearer : Api.Enums.AuthScheme.Basic; _httpWorker = new HttpCommunicationWorker(baseUrl, base64Auth, schemeToUse); InjectDependencies(); }
internal Projects(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="DivisionTeamStandings"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal DivisionTeamStandings(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="CumulativePlayerStats"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal CumulativePlayerStats(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
public StashClient(string baseUrl, string base64Auth = null) { _httpWorker = new HttpCommunicationWorker(baseUrl, base64Auth); InjectDependencies(); }
/// <summary> /// Initializes a new instance of the <see cref="DailyDfs"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal DailyDfs(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal PullRequests(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="DailyPlayerStats"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal DailyPlayerStats(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal Commits(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="LatestUpdates"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal LatestUpdates(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal DefaultReviewerConditions(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="MySportsFeedsClient"/> class. /// </summary> /// <param name="league">The league.</param> /// <param name="version">The version.</param> /// <param name="username">The username.</param> /// <param name="password">The password.</param> public OldMLBSportsFeedsClient(string apiKey, string password) { _httpWorker = new HttpCommunicationWorker(this.BASE_URL, apiKey, password); InjectDependencies(); }
internal Groups(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="PlayerInjuries"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal PlayerInjuries(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="MySportsFeedsClient"/> class. /// </summary> /// <param name="baseUrl">The base URL.</param> /// <param name="league">The league.</param> /// <param name="version">The version.</param> /// <param name="username">The username.</param> /// <param name="password">The password.</param> public MySportsFeedsClient(string baseUrl, Enums.League league, string version, string username, string password) { _httpWorker = new HttpCommunicationWorker(baseUrl, version, username, password); InjectDependencies(league); }
/// <summary> /// Initializes a new instance of the <see cref="FullGameSchedule"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal FullGameSchedule(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="RosterPlayers"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal RosterPlayers(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="ConferenceTeamStandings"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal ConferenceTeamStandings(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal Branches(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
public StashClient(string baseUrl, string username, string password) { _httpWorker = new HttpCommunicationWorker(baseUrl, username, password); InjectDependencies(); }
/// <summary> /// Initializes a new instance of the <see cref="GameStartingLineup"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal GameStartingLineup(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal Permissions(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="GamePlayByPlay"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal GamePlayByPlay(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="PlayerGameLogs"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal PlayerGameLogs(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="Scoreboard"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal Scoreboard(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="TeamGameLogs"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal TeamGameLogs(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal Users(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal RepoPermissions(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="PlayoffTeamStandings"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal PlayoffTeamStandings(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
internal Repositories(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }
/// <summary> /// Initializes a new instance of the <see cref="GameBoxScore"/> class. /// </summary> /// <param name="httpWorker">The HTTP worker.</param> internal GameBoxScore(HttpCommunicationWorker httpWorker) { _httpWorker = httpWorker; }