Example #1
0
        private async void releases_releasesButton_Click(object sender, EventArgs e)
        {
            Releases api = new Releases {
                ApiKey = apiKey
            };

            if (fredValidationButton.Checked)
            {
                api.Arguments.Validators.Clear();
            }
            ReleasesContainer container = syncButton.Checked ? api.Fetch() : await api.FetchAsync();

            ShowResults(api);
        }