329
329
/// List the lists the specified user has been added to.
331
331
/// <param name="tokens">The tokens.</param>
332
/// <param name="username">The username.</param>
333
/// <param name="options">The options.</param>
335
/// A <see cref="TwitterListCollection"/> instance.
337
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username, ListMembershipsOptions options)
339
Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, username, options);
340
return Core.CommandPerformer.PerformAction(command);
344
/// List the lists the specified user has been added to.
346
/// <param name="tokens">The tokens.</param>
347
/// <param name="username">The username.</param>
349
/// A <see cref="TwitterListCollection"/> instance.
351
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username)
353
return GetMemberships(tokens, username, null);
332
/// <param name="username">The screenname.</param>
333
/// <param name="options">The options.</param>
335
/// A <see cref="TwitterListCollection"/> instance.
337
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string screenname, ListMembershipsOptions options)
339
Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, screenname, options);
340
return Core.CommandPerformer.PerformAction(command);
344
/// List the lists the specified user has been added to.
346
/// <param name="tokens">The tokens.</param>
347
/// <param name="username">The screenname.</param>
349
/// A <see cref="TwitterListCollection"/> instance.
351
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string screenname)
353
return GetMemberships(tokens, screenname, null);
357
/// List the lists the specified user has been added to.
359
/// <param name="tokens">The tokens.</param>
360
/// <param name="username">The userid.</param>
361
/// <param name="options">The options.</param>
363
/// A <see cref="TwitterListCollection"/> instance.
365
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid, ListMembershipsOptions options)
367
Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, userid, options);
368
return Core.CommandPerformer.PerformAction(command);
372
/// List the lists the specified user has been added to.
374
/// <param name="tokens">The tokens.</param>
375
/// <param name="username">The userid.</param>
377
/// A <see cref="TwitterListCollection"/> instance.
379
public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid)
381
return GetMemberships(tokens, userid, null);