Exemple #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));
        }
Exemple #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));
        }
Exemple #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));
        }