/// <summary> /// Show the specified list. Private lists will only be shown if the authenticated user owns the specified list. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="username">The username.</param> /// <param name="listIdOrSlug">The list id or slug.</param> /// <param name="options">The options.</param> /// <returns> /// A <see cref="TwitterListCollection"/> instance. /// </returns> public static TwitterResponse<TwitterList> GetList(OAuthTokens tokens, string username, string listIdOrSlug, OptionalProperties options) { Commands.GetListCommand command = new Twitterizer.Commands.GetListCommand(tokens, username, listIdOrSlug, options); return Core.CommandPerformer<TwitterList>.PerformAction(command); }
/// <summary> /// Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="listId">The list id.</param> /// <param name="options">The options.</param> /// <returns>A <see cref="TwitterList"/> instance.</returns> public static TwitterResponse<TwitterList> Show(OAuthTokens tokens, decimal listId, OptionalProperties options) { Commands.GetListCommand command = new Twitterizer.Commands.GetListCommand(tokens, string.Empty, listId, options); return Core.CommandPerformer.PerformAction(command); }
/// <summary> /// Returns the specified list. Private lists will only be shown if the authenticated user owns the specified list. /// </summary> /// <param name="tokens">The tokens.</param> /// <param name="listId">The list id.</param> /// <param name="options">The options.</param> /// <returns>A <see cref="TwitterList"/> instance.</returns> public static TwitterResponse <TwitterList> Show(OAuthTokens tokens, decimal listId, OptionalProperties options) { Commands.GetListCommand command = new Twitterizer.Commands.GetListCommand(tokens, string.Empty, listId, options); return(Core.CommandPerformer.PerformAction(command)); }