public GitHubStargazer GetStarGazer(string id, string repoName)
        {
            var stargazer       = new Stargazers();
            var stargazerReturn = stargazer.GitHubStargazerService(id, repoName);

            return(stargazerReturn);
        }
Beispiel #2
0
 public GitHubRepository(string name, string description, long forkCount, IssuesConnection?issues, Owner owner, Stargazers stargazers)
 {
     Name        = name;
     Description = description;
     ForkCount   = forkCount;
     Owner       = owner.Login;
     Issues      = issues;
     Stargazers  = stargazers.TotalCount;
 }
 public Task Load(bool forceDataRefresh)
 {
     return(Stargazers.SimpleCollectionLoad(Application.Client.Users[User].Repositories[Repository].GetStargazers(), forceDataRefresh));
 }
 public GitHubRepository(Owner owner, Stargazers stargazers) =>
 (RepositoryOwner, RepositoryStargazers) = (owner, stargazers);