API Reference
Class
GitHubRepoInfo
Repository summary for the dashboard.
Inheritance
- Object
- GitHubRepoInfo
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property GitHubDashboardData.AllRepos
- Property GitHubDashboardData.TopRepos
- Method GitHubDashboardService.FetchRepositoryAsync
Accepted by parameters 2
- 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, 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.DateTimeOffset? = null
- isArchived System.Boolean = false
- isFork System.Boolean = false
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String NameWithOwner { get; } #Gets the canonical owner/repository name.
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 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.