/// <summary> /// 搜索用户时的联想搜索建议 /// </summary> /// <param name="q">搜索的关键字</param> /// <param name="count">返回的记录条数,默认为10</param> /// <returns></returns> public IEnumerable <User> Users(string q, int count = 10) { return(JsonConvert.DeserializeObject <IEnumerable <User> >(api.Users(q, count))); }
/// <summary> /// 搜索用户时的联想搜索建议 /// </summary> /// <param name="q">搜索的关键字</param> /// <param name="count">返回的记录条数,默认为10</param> /// <returns></returns> public dynamic Users(string q, int count = 10) { return(DynamicJson.Parse(api.Users(q, count))); }