public virtual void GetProfileBannerFor(GetProfileBannerForOptions options, Action<ProfileBanners, TwitterResponse> action) { var screen_name = options.ScreenName; var user_id = options.UserId; WithHammock(_client, action, "users/profile_banner", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }
public virtual Task<TwitterAsyncResult<ProfileBanners>> GetProfileBannerForAsync(GetProfileBannerForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; return WithHammockTask<ProfileBanners>(_client, "users/profile_banner", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }
public virtual IAsyncResult BeginGetProfileBannerFor(GetProfileBannerForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; return BeginWithHammock<ProfileBanners>(_client, WebMethod.Get, "users/profile_banner", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id); }