在测试 SL 应用程序中考虑这一点(尝试学习 RX):
var input = (from _ in Observable.FromEventPattern(txt, "TextChanged")
select txt.Text)
.Throttle(TimeSpan.FromSeconds(.05)).DistinctUntilChanged();
var svc = new DictServiceSoapClient();
var res = from term in input
from words in svc.MatchInDictAsync("wn", term, "prefix")
select words;
“from words in svc....”中的“from”显示错误消息:“无法从查询中推断类型参数。尝试...”
我不明白它想说什么。我该如何解决这个问题?