~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/Twitterizer/Twitterizer2/Methods/List/TwitterList.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
329
329
        /// List the lists the specified user has been added to.
330
330
        /// </summary>
331
331
        /// <param name="tokens">The tokens.</param>
332
 
        /// <param name="username">The username.</param>
333
 
        /// <param name="options">The options.</param>
334
 
        /// <returns>
335
 
        /// A <see cref="TwitterListCollection"/> instance.
336
 
        /// </returns>
337
 
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username, ListMembershipsOptions options)
338
 
        {
339
 
            Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, username, options);
340
 
            return Core.CommandPerformer.PerformAction(command);
341
 
        }
342
 
 
343
 
        /// <summary>
344
 
        /// List the lists the specified user has been added to.
345
 
        /// </summary>
346
 
        /// <param name="tokens">The tokens.</param>
347
 
        /// <param name="username">The username.</param>
348
 
        /// <returns>
349
 
        /// A <see cref="TwitterListCollection"/> instance.
350
 
        /// </returns>
351
 
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string username)
352
 
        {
353
 
            return GetMemberships(tokens, username, null);
 
332
        /// <param name="username">The screenname.</param>
 
333
        /// <param name="options">The options.</param>
 
334
        /// <returns>
 
335
        /// A <see cref="TwitterListCollection"/> instance.
 
336
        /// </returns>
 
337
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string screenname, ListMembershipsOptions options)
 
338
        {
 
339
            Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, screenname, options);
 
340
            return Core.CommandPerformer.PerformAction(command);
 
341
        }
 
342
 
 
343
        /// <summary>
 
344
        /// List the lists the specified user has been added to.
 
345
        /// </summary>
 
346
        /// <param name="tokens">The tokens.</param>
 
347
        /// <param name="username">The screenname.</param>
 
348
        /// <returns>
 
349
        /// A <see cref="TwitterListCollection"/> instance.
 
350
        /// </returns>
 
351
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, string screenname)
 
352
        {
 
353
            return GetMemberships(tokens, screenname, null);
 
354
        }
 
355
 
 
356
        /// <summary>
 
357
        /// List the lists the specified user has been added to.
 
358
        /// </summary>
 
359
        /// <param name="tokens">The tokens.</param>
 
360
        /// <param name="username">The userid.</param>
 
361
        /// <param name="options">The options.</param>
 
362
        /// <returns>
 
363
        /// A <see cref="TwitterListCollection"/> instance.
 
364
        /// </returns>
 
365
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid, ListMembershipsOptions options)
 
366
        {
 
367
            Commands.ListMembershipsCommand command = new Twitterizer.Commands.ListMembershipsCommand(tokens, userid, options);
 
368
            return Core.CommandPerformer.PerformAction(command);
 
369
        }
 
370
 
 
371
        /// <summary>
 
372
        /// List the lists the specified user has been added to.
 
373
        /// </summary>
 
374
        /// <param name="tokens">The tokens.</param>
 
375
        /// <param name="username">The userid.</param>
 
376
        /// <returns>
 
377
        /// A <see cref="TwitterListCollection"/> instance.
 
378
        /// </returns>
 
379
        public static TwitterResponse<TwitterListCollection> GetMemberships(OAuthTokens tokens, decimal userid)
 
380
        {
 
381
            return GetMemberships(tokens, userid, null);
354
382
        }
355
383
 
356
384
        /// <summary>