Esempio n. 1
0
        private async void releases_releaseButton_Click(object sender, EventArgs e)
        {
            Release api = new Release {
                ApiKey = apiKey
            };

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

            ShowResults(api);
        }