/// <summary> /// 为 <see cref="HtmlHelper"/> 对象扩展 validatebox 元素。 /// </summary> /// <param name="htmlHelper"></param> /// <param name="exp">属性名或使用 txt 作为前缀的 ID 名称。</param> /// <param name="settings">参数选项。</param> /// <returns></returns> public static HtmlString ValidatePasswordBox(this System.Web.Mvc.HtmlHelper htmlHelper, string exp, ValidateBoxSettings settings = null) { throw new NotImplementedException(); }
/// <summary> /// 为 <see cref="HtmlHelper"/> 对象扩展 validatebox 元素。 /// </summary> /// <typeparam name="TModel">数据模型类型。</typeparam> /// <typeparam name="TProperty">绑定的属性的类型。</typeparam> /// <param name="htmlHelper"></param> /// <param name="expression">指定绑定属性的表达式。</param> /// <param name="settings">参数选项。</param> /// <returns></returns> public static HtmlString ValidateMultiBox <TModel, TProperty>(this System.Web.Mvc.HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, ValidateBoxSettings settings = null) { throw new NotImplementedException(); }