public virtual void ListUserProfilesFor(ListUserProfilesForOptions options, Action<IEnumerable<TwitterUser>, TwitterResponse> action) { var screen_name = options.ScreenName; var user_id = options.UserId; var include_entities = options.IncludeEntities; WithHammock(action, "users/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id, "&include_entities=", include_entities); }
public virtual Task<TwitterResponse<IEnumerable<TwitterUser>>> ListUserProfilesForAsync(ListUserProfilesForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; var include_entities = options.IncludeEntities; return ExecuteRequest<IEnumerable<TwitterUser>>("users/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id, "&include_entities=", include_entities); }
public virtual IAsyncResult BeginListUserProfilesFor(ListUserProfilesForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; var include_entities = options.IncludeEntities; return BeginWithHammock<IEnumerable<TwitterUser>>(WebMethod.Get, "users/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id, "&include_entities=", include_entities); }
public virtual Task<TwitterAsyncResult<IEnumerable<TwitterUser>>> ListUserProfilesForAsync(ListUserProfilesForOptions options) { var screen_name = options.ScreenName; var user_id = options.UserId; var include_entities = options.IncludeEntities; return WithHammockTask<IEnumerable<TwitterUser>>(_client, "users/lookup", FormatAsString, "?screen_name=", screen_name, "&user_id=", user_id, "&include_entities=", include_entities); }