Example #1
0
 /// <summary>
 ///     根据微博内容推荐用户
 /// </summary>
 /// <param name="content"></param>
 /// <param name="num"></param>
 /// <returns></returns>
 public dynamic UsersByStatus(string content, int num = 10)
 {
     return(DynamicJson.Parse(api.UsersByStatus(content, num)));
 }
 /// <summary>
 /// 根据微博内容推荐用户
 /// </summary>
 /// <param name="content"></param>
 /// <param name="num"></param>
 /// <returns></returns>
 public IEnumerable <Entities.user.Entity> UsersByStatus(string content, int num = 10)
 {
     return(JsonConvert.DeserializeObject <IEnumerable <Entities.user.Entity> >(JObject.Parse(api.UsersByStatus(content, num))["users"].ToString()));
 }