Пример #1
0
        public static string WriteMenu(this HtmlHelper htmlHelper, Menu menu, bool nest)
        {
            var menuWriter = new MenuWriter(htmlHelper, menu, nest, false);

            return(menuWriter.Write());
        }
Пример #2
0
        public static string WriteMenu(this HtmlHelper htmlHelper, Menu menu, bool nest, object attributes)
        {
            var menuWriter = new MenuWriter(htmlHelper, menu, nest, attributes);

            return(menuWriter.Write());
        }
Пример #3
0
        public static string WriteMenu(this HtmlHelper htmlHelper, Menu menu)
        {
            var menuWriter = new MenuWriter(htmlHelper, menu);

            return(menuWriter.Write());
        }