How to create custom htmlhelper with htmlAttributes by class

Em đang muốn tạo ra một html.AutoCompleteFor có parameters htmlAttributes để chỉnh css, html.

public static MvcHtmlString AutocompleteFor<TModel, TProperty>(this HtmlHelper<TModel> html, Expression<Func<TModel,
            TProperty>> expression, string actionName, string controllerName, object htmlAttributes)
        {
            string autocompleteUrl = UrlHelper.GenerateUrl(null, actionName, controllerName,
                                                           null,
                                                           html.RouteCollection,
                                                           html.ViewContext.RequestContext,
                                                           includeImplicitMvcValues: true);
            return html.TextBoxFor(expression, new { data_autocomplete_url = autocompleteUrl });
        }

Trong html.TextBoxFor, em muốn truyền htmlAttributes thì nó báo như phía dưới.

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?