/// <summary> /// Returns the members of 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 collection of users as <see cref="TwitterUserCollection"/>. /// </returns> public static TwitterResponse<TwitterUserCollection> GetMembers(OAuthTokens tokens, string username, string listIdOrSlug, GetListMembersOptions options) { Commands.GetListMembersCommand command = new Twitterizer.Commands.GetListMembersCommand(tokens, username, listIdOrSlug, options); return CommandPerformer.PerformAction(command); }
/// <summary> /// Returns the members of 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 collection of users as <see cref="TwitterUserCollection"/>. /// </returns> public static TwitterResponse <TwitterUserCollection> GetMembers(OAuthTokens tokens, string username, string listIdOrSlug, GetListMembersOptions options) { Commands.GetListMembersCommand command = new Twitterizer.Commands.GetListMembersCommand(tokens, username, listIdOrSlug, options); return(CommandPerformer.PerformAction(command)); }