Example #1
0
        public frmRandomGitHub(IGithubAPI githubAPI,
                               IConfiguration configuration)
        {
            InitializeComponent();
            this.githubAPI     = githubAPI;
            this.configuration = configuration;

            UpdateLabels(null);
        }
Example #2
0
 private static void DisplayRateLimitingInfo(IGithubAPI gh)
 {
     Console.WriteLine($"API calls until limited: {gh.RateLimitRemaining}");
 }