Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 4
0
 internal Projects(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;
 }
Exemplo n.º 6
0
 public StashClient(string baseUrl, string base64Auth = null)
 {
     _httpWorker = new HttpCommunicationWorker(baseUrl, base64Auth);
     InjectDependencies();
 }
Exemplo n.º 7
0
 /// <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;
 }
Exemplo n.º 8
0
 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;
 }
Exemplo n.º 10
0
 internal Commits(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 11
0
 /// <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;
 }
Exemplo n.º 13
0
 /// <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();
 }
Exemplo n.º 14
0
 public StashClient(string baseUrl, string base64Auth = null)
 {
     _httpWorker = new HttpCommunicationWorker(baseUrl, base64Auth);
     InjectDependencies();
 }
Exemplo n.º 15
0
 internal Groups(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 16
0
 /// <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);
 }
Exemplo n.º 18
0
 /// <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;
 }
Exemplo n.º 21
0
 internal Branches(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 22
0
 public StashClient(string baseUrl, string username, string password)
 {
     _httpWorker = new HttpCommunicationWorker(baseUrl, username, password);
     InjectDependencies();
 }
Exemplo n.º 23
0
 /// <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;
 }
Exemplo n.º 24
0
 internal Commits(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 25
0
 internal Permissions(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 26
0
 /// <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;
 }
Exemplo n.º 27
0
 internal PullRequests(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 28
0
 /// <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;
 }
Exemplo n.º 29
0
 /// <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;
 }
Exemplo n.º 30
0
 public StashClient(string baseUrl, string username, string password)
 {
     _httpWorker = new HttpCommunicationWorker(baseUrl, username, password);
     InjectDependencies();
 }
Exemplo n.º 31
0
 /// <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;
 }
Exemplo n.º 32
0
 internal Users(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 33
0
 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;
 }
Exemplo n.º 35
0
 internal Branches(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 36
0
 internal Repositories(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 37
0
 /// <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;
 }
Exemplo n.º 38
0
 internal Repositories(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }
Exemplo n.º 39
0
 internal Groups(HttpCommunicationWorker httpWorker)
 {
     _httpWorker = httpWorker;
 }