MVC object htmlAttributes,IDictionary<string, object> htmlAttributes 写法
MVC object htmlAttributes:new {style="color:red",width="12px",height="10px"}。
IDictionary<string, object> htmlAttributes:new Dictionary<string, object>{{"id","test"},{"style","font-weight:bold;"}
o.AddHtmlAttribute("style","font-size:16px")