コード例 #1
0
		public virtual void Retweets(RetweetsOptions options, Action<IEnumerable<TwitterStatus>, TwitterResponse> action)
		{
			var id = options.Id;
			var count = options.Count;
			var trim_user = options.TrimUser;
			
			WithHammock(action, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user);
		}
コード例 #2
0
		public virtual Task<TwitterResponse<IEnumerable<TwitterStatus>>> RetweetsAsync(RetweetsOptions options)
		{
			var id = options.Id;
			var count = options.Count;
			var trim_user = options.TrimUser;
				
			
			return ExecuteRequest<IEnumerable<TwitterStatus>>("statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user);
		}
コード例 #3
0
		public virtual IAsyncResult BeginRetweets(RetweetsOptions options)
		{
			var id = options.Id;
			var count = options.Count;
			var trim_user = options.TrimUser;
				

			return BeginWithHammock<IEnumerable<TwitterStatus>>(WebMethod.Get, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user);
		}
コード例 #4
0
		public virtual Task<TwitterAsyncResult<IEnumerable<TwitterStatus>>> RetweetsAsync(RetweetsOptions options)
		{
			var id = options.Id;
			var count = options.Count;
			var trim_user = options.TrimUser;
			
			return WithHammockTask<IEnumerable<TwitterStatus>>(_client, "statuses/retweets/{id}", FormatAsString, "?id=", id, "&count=", count, "&trim_user=", trim_user);
		}