如何合并此自定义扩展方法中的选项?
public static MvcHtmlString ActionLink(this AjaxHelper html,
string linkText,
string actionName,
object htmlAttributes,
AjaxOptions options )
{
RouteValueDictionary attributes = new RouteValueDictionary(htmlAttributes);
TagBuilder linkTag = new TagBuilder("a");
UrlHelper url = new UrlHelper(html.ViewContext.RequestContext);
linkTag.Attributes.Add("href", url.Action(actionName));
return MvcHtmlString.Create(linkTag.ToString(TagRenderMode.Normal));
}
}