public frmRandomGitHub(IGithubAPI githubAPI, IConfiguration configuration) { InitializeComponent(); this.githubAPI = githubAPI; this.configuration = configuration; UpdateLabels(null); }
private static void DisplayRateLimitingInfo(IGithubAPI gh) { Console.WriteLine($"API calls until limited: {gh.RateLimitRemaining}"); }