我有两节课
解析器.cs:
....
client.DownloadStringCompleted += (sender, e) =>
{
Result = JsonConvert.DeserializeObject<Flight>(e.Result);
};
client.DownloadStringAsync(new Uri(uri));
和 Main.cs:
...
var p = new Parser();
p.Parse();
someMethod(p.Result);
当 Parser.cs 的 DownloadStringAsync 完成后,我如何运行someMethod ?