public virtual void GetList(GetListOptions options, Action<TwitterList, TwitterResponse> action) { var list_id = options.ListId; var slug = options.Slug; var owner_screen_name = options.OwnerScreenName; var owner_id = options.OwnerId; WithHammock(action, "lists/show", FormatAsString, "?list_id=", list_id, "&slug=", slug, "&owner_screen_name=", owner_screen_name, "&owner_id=", owner_id); }
public virtual TwitterList GetList(GetListOptions options) { var list_id = options.ListId; var slug = options.Slug; var owner_screen_name = options.OwnerScreenName; var owner_id = options.OwnerId; return WithHammock<TwitterList>("lists/show", FormatAsString, "?list_id=", list_id, "&slug=", slug, "&owner_screen_name=", owner_screen_name, "&owner_id=", owner_id); }
public virtual IAsyncResult BeginGetList(GetListOptions options) { var list_id = options.ListId; var slug = options.Slug; var owner_screen_name = options.OwnerScreenName; var owner_id = options.OwnerId; return BeginWithHammock<TwitterList>(WebMethod.Get, "lists/show", FormatAsString, "?list_id=", list_id, "&slug=", slug, "&owner_screen_name=", owner_screen_name, "&owner_id=", owner_id); }
public virtual Task<TwitterResponse<TwitterList>> GetListAsync(GetListOptions options) { var list_id = options.ListId; var slug = options.Slug; var owner_screen_name = options.OwnerScreenName; var owner_id = options.OwnerId; return ExecuteRequest<TwitterList>("lists/show", FormatAsString, "?list_id=", list_id, "&slug=", slug, "&owner_screen_name=", owner_screen_name, "&owner_id=", owner_id); }