示例#1
0
 /// <summary>
 /// List the lists the specified user has been added to.
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="username">The username.</param>
 /// <param name="options">The options.</param>
 /// <returns>
 /// A <see cref="TwitterListCollection"/> instance.
 /// </returns>
 public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username, ListMembershipsOptions options)
 {
     Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, username, options);
     return Core.CommandPerformer.PerformAction(command);
 }
示例#2
0
 /// <summary>
 /// List the lists the specified user has been added to.
 /// </summary>
 /// <param name="tokens">The tokens.</param>
 /// <param name="username">The userid.</param>
 /// <param name="options">The options.</param>
 /// <returns>
 /// A <see cref="TwitterListCollection"/> instance.
 /// </returns>
 public static TwitterResponse <TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid, ListMembershipsOptions options)
 {
     Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, userid, options);
     return(Core.CommandPerformer.PerformAction(command));
 }