コード例 #1
0
 public static async Task <IEnumerable <ITweet> > GetHomeTimeline(IHomeTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetHomeTimeline(timelineParameters)));
 }
コード例 #2
0
 // Create List
 public static async Task <ITweetList> CreateList(string name, PrivacyMode privacyMode, string description = null)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.CreateList(name, privacyMode, description)));
 }
コード例 #3
0
 public static async Task <ITweetList> UpdateList(long listId, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(listId, parameters)));
 }
コード例 #4
0
 public static async Task <ITweetList> GetExistingList(string slug, IUserIdentifier userDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userDTO)));
 }
コード例 #5
0
 public static async Task <IEnumerable <ITweetList> > GetUserLists(IUserIdentifier userDTO, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userDTO, getOwnedListsFirst)));
 }
コード例 #6
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, long ownerId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerId)));
 }
コード例 #7
0
 public static async Task <IEnumerable <IUser> > GetMembersOfList(string slug, long ownerId, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(slug, ownerId, maxNumberOfUsersToRetrieve)));
 }
コード例 #8
0
ファイル: FriendshipAsync.cs プロジェクト: SowaLabs/Tweetinvi
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(long sourceUserId, long targetUserId)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserId, targetUserId)));
 }
コード例 #9
0
ファイル: FriendshipAsync.cs プロジェクト: SowaLabs/Tweetinvi
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(string sourceUserScreenName, string targetUserScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserScreenName, targetUserScreenName)));
 }
コード例 #10
0
 // Mention Timeline
 public static async Task <IEnumerable <IMention> > GetMentionsTimeline(int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(maximumTweets)));
 }
コード例 #11
0
 public static async Task <IEnumerable <IMention> > GetMentionsTimeline(IMentionsTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetMentionsTimeline(timelineParameters)));
 }
コード例 #12
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, IUserTimelineParameters timelineParameters)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, timelineParameters)));
 }
コード例 #13
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(string userScreenName, int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userScreenName, maximumTweets)));
 }
コード例 #14
0
 public static async Task <IEnumerable <ITweet> > GetUserTimeline(IUserIdentifier userIdentifier, int maximumTweets = 40)
 {
     return(await Sync.ExecuteTaskAsync(() => Timeline.GetUserTimeline(userIdentifier, maximumTweets)));
 }
コード例 #15
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(listId)));
 }
コード例 #16
0
ファイル: FriendshipAsync.cs プロジェクト: SowaLabs/Tweetinvi
 // Get Relationship Between
 public static async Task <IRelationshipDetails> GetRelationshipDetailsBetween(IUserIdentifier sourceUserIdentifier, IUserIdentifier targetUserIdentifier)
 {
     return(await Sync.ExecuteTaskAsync(() => Friendship.GetRelationshipDetailsBetween(sourceUserIdentifier, targetUserIdentifier)));
 }
コード例 #17
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(string slug, IUserIdentifier ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(slug, ownerDTO)));
 }
コード例 #18
0
ファイル: HelpAsync.cs プロジェクト: onedeadear/tweetinvi
 public static async Task <string> GetTwitterPrivacyPolicy()
 {
     return(await Sync.ExecuteTaskAsync(() => Help.GetTwitterPrivacyPolicy()));
 }
コード例 #19
0
 public static async Task <IEnumerable <IUser> > GetMembersOfList(ITweetListDTO tweetListDTO, int maxNumberOfUsersToRetrieve = 100)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetMembersOfList(tweetListDTO, maxNumberOfUsersToRetrieve)));
 }
コード例 #20
0
 public static async Task <bool> DestroyList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(tweetListDTO)));
 }
コード例 #21
0
 public static async Task <ITweetList> GetExistingList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(listId)));
 }
コード例 #22
0
 public static async Task <bool> DestroyList(long listId)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(listId)));
 }
コード例 #23
0
 public static async Task <ITweetList> GetExistingList(string slug, string userScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetExistingList(slug, userScreenName)));
 }
コード例 #24
0
 public static async Task <bool> DestroyList(string slug, IUserDTO ownerDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerDTO)));
 }
コード例 #25
0
 public static async Task <IEnumerable <ITweetList> > GetUserLists(string userScreenName, bool getOwnedListsFirst)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetUserLists(userScreenName, getOwnedListsFirst)));
 }
コード例 #26
0
 public static async Task <bool> DestroyList(string slug, string ownerScreenName)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.DestroyList(slug, ownerScreenName)));
 }
コード例 #27
0
 public static async Task <ITweetList> UpdateList(ITweetListDTO tweetListDTO, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(tweetListDTO, parameters)));
 }
コード例 #28
0
 public static async Task <IEnumerable <ITweet> > GetTweetsFromList(ITweetListDTO tweetListDTO)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.GetTweetsFromList(tweetListDTO)));
 }
コード例 #29
0
 public static async Task <ITweetList> UpdateList(string slug, IUser owner, IListUpdateParameters parameters)
 {
     return(await Sync.ExecuteTaskAsync(() => TweetList.UpdateList(slug, owner, parameters)));
 }
コード例 #30
0
 public static async Task <ISavedSearch> CreateSavedSearch(string query)
 {
     return(await Sync.ExecuteTaskAsync(() => SavedSearch.CreateSavedSearch(query)));
 }