【发布时间】:2011-02-01 09:56:14
【问题描述】:
它存在类似Action的东西,但可以封装带有签名的方法:
void SomeFunc(IDictionary<string,class>), I try solve this:
private void RefreshContactList()
{
var freshFriends = Service.GetAllFriends(Account);
new System.Action(RefreshContactsData(freshFriends)).OnUIThread();
}
private void RefreshContactsData(IEnumerable<KeyValuePair<string, UserInfo>> freshFriends)
{
//...
}
【问题讨论】:
-
我猜英语不是你的第一语言,但你能不能把这个问题解释得更清楚一点。