AsyncExtract() публичный Метод

public AsyncExtract ( Action callback ) : void
callback Action
Результат void
Пример #1
0
        private void extractBtn_Click(object sender, EventArgs e)
        {
            if (!matchHistoryChkBox.Checked)
            {
                SC2Macros.openMatchHistory(nameTxt.Text, codeTxt.Text);
            }

            SetAll(false);
            SetStatusText("Extracting...");
            S2GSExtractor extractor = new S2GSExtractor((Server)serverBox.SelectedItem);

            extractor.AsyncExtract(new Action <HashSet <string> >(ExtractDone));
        }
Пример #2
0
        private void extractBtn_Click(object sender, EventArgs e)
        {
            if (!matchHistoryChkBox.Checked)
                SC2Macros.openMatchHistory(nameTxt.Text, codeTxt.Text);

            SetAll(false);
            SetStatusText("Extracting...");
            S2GSExtractor extractor = new S2GSExtractor((Server)serverBox.SelectedItem);
            extractor.AsyncExtract(new Action<HashSet<string>>(ExtractDone));
        }