public virtual void ListSubscriptions(ListSubscriptionsOptions options, Action<TwitterCursorList<TwitterList>, TwitterResponse> action) { var user_id = options.UserId; var screen_name = options.ScreenName; var count = options.Count; var cursor = options.Cursor; WithHammock(action, "lists/subscriptions", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&count=", count, "&cursor=", cursor); }
public virtual Task<TwitterResponse<TwitterCursorList<TwitterList>>> ListSubscriptionsAsync(ListSubscriptionsOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var count = options.Count; var cursor = options.Cursor; return ExecuteRequest<TwitterCursorList<TwitterList>>("lists/subscriptions", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&count=", count, "&cursor=", cursor); }
public virtual IAsyncResult BeginListSubscriptions(ListSubscriptionsOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var count = options.Count; var cursor = options.Cursor; return BeginWithHammock<TwitterCursorList<TwitterList>>(WebMethod.Get, "lists/subscriptions", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&count=", count, "&cursor=", cursor); }
public virtual Task<TwitterAsyncResult<TwitterCursorList<TwitterList>>> ListSubscriptionsAsync(ListSubscriptionsOptions options) { var user_id = options.UserId; var screen_name = options.ScreenName; var count = options.Count; var cursor = options.Cursor; return WithHammockTask<TwitterCursorList<TwitterList>>(_client, "lists/subscriptions", FormatAsString, "?user_id=", user_id, "&screen_name=", screen_name, "&count=", count, "&cursor=", cursor); }