예제 #1
0
        public static MvcHtmlString BsDisplayFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression)
        {
            TalonFactory <TModel> talon = new TalonFactory <TModel>(htmlHelper);

            return(talon.DisplayFor(expression));
        }
예제 #2
0
        public static MvcHtmlString BsPasswordFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, IDictionary <string, object> htmlAttributes)
        {
            TalonFactory <TModel> talon = new TalonFactory <TModel>(htmlHelper);

            return(talon.PasswordFor(expression, htmlAttributes));
        }
예제 #3
0
        public static MvcHtmlString BsDropDownListFor <TModel, TProperty>(this HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression, IEnumerable <SelectListItem> selectListItems, string optionLabel, IDictionary <string, object> htmlAttributes)
        {
            TalonFactory <TModel> talon = new TalonFactory <TModel>(htmlHelper);

            return(talon.DropDownListFor(expression, selectListItems, optionLabel, htmlAttributes));
        }