public virtual void Retweets(RetweetsOptions options, Action<IEnumerable<TwitterStatus>, TwitterResponse> action) { var id = options.Id; var count = options.Count; var trim_user = options.TrimUser; WithHammock(action, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user); }
public virtual Task<TwitterResponse<IEnumerable<TwitterStatus>>> RetweetsAsync(RetweetsOptions options) { var id = options.Id; var count = options.Count; var trim_user = options.TrimUser; return ExecuteRequest<IEnumerable<TwitterStatus>>("statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user); }
public virtual IAsyncResult BeginRetweets(RetweetsOptions options) { var id = options.Id; var count = options.Count; var trim_user = options.TrimUser; return BeginWithHammock<IEnumerable<TwitterStatus>>(WebMethod.Get, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user); }
public virtual Task<TwitterAsyncResult<IEnumerable<TwitterStatus>>> RetweetsAsync(RetweetsOptions options) { var id = options.Id; var count = options.Count; var trim_user = options.TrimUser; return WithHammockTask<IEnumerable<TwitterStatus>>(_client, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user); }