protected override void Finish() { if (Canceled || Error != null || doc == null && ownedGamesObject == null) { return; } SetText(GlobalStrings.CDlgFetch_FinishingDownload); int newItems; if (doc != null) { Fetched = data.IntegrateGameList(doc, overwrite, ignore, out newItems); } else { Fetched = data.IntegrateGameList(ownedGamesObject, overwrite, ignore, out newItems); } Added = newItems; OnJobCompletion(); }