API Reference
Class
GitHubRepoInfo
Repository summary for the dashboard.
Inheritance
- Object
- GitHubRepoInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property GitHubDashboardData.AllRepos
- Property GitHubDashboardData.TopRepos
- Method GitHubDashboardService.FetchRepositoryAsync
Accepted by parameters
- Constructor GitHubDashboardData.GitHubDashboardData
- Constructor GitHubDashboardData.GitHubDashboardData
Constructors
public GitHubRepoInfo(String nameWithOwner, Int32 stars, Int32 forks, String description, String language, String languageColor, Int32 watchers = 0, Int32 openIssues = 0, Nullable<DateTimeOffset> pushedAtUtc = null, Boolean isArchived = false, Boolean isFork = false) #Initializes a repository summary.
Parameters
- nameWithOwner System.String
- stars System.Int32
- forks System.Int32
- description System.String
- language System.String
- languageColor System.String
- watchers System.Int32 = 0
- openIssues System.Int32 = 0
- pushedAtUtc System.Nullable{System.DateTimeOffset} = null
- isArchived System.Boolean = false
- isFork System.Boolean = false
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String NameWithOwner { get; } #Gets the canonical owner/repository name.
public Int32 Stars { get; } #Gets the repository star count.
public Int32 Forks { get; } #Gets the repository fork count.
public Int32 Watchers { get; } #Gets the repository watcher count.
public Int32 OpenIssues { get; } #Gets the repository open issue count.
public String Description { get; } #Gets the optional repository description.
public String Language { get; } #Gets the optional primary language name.
public String LanguageColor { get; } #Gets the optional primary language color.
public Nullable<DateTimeOffset> PushedAtUtc { get; } #Gets the last pushed timestamp when available.
public Boolean IsArchived { get; } #Gets whether the repository is archived.
public Boolean IsFork { get; } #Gets whether the repository itself is a fork.