Exemplo n.º 1
0
        public static IMenuLink AddGroupMvcRouteLink(this IMenu source, string groupText, object routeValues, int? ordinal, IDictionary<string, object> meta)
        {
            var menuLink = new MvcRouteActivationMenuGroup(groupText, routeValues, ordinal, meta);

            source.AddEntry(menuLink);

            return menuLink;
        }
Exemplo n.º 2
0
        public static IMenuLink AddGroupMvcRouteLink(this IMenu source, string groupText, string routeName, RouteValueDictionary routeValues, string protocol, string hostName, int? ordinal, IDictionary<string, object> meta)
        {
            var menuLink = new MvcRouteActivationMenuGroup(groupText, routeName, routeValues, protocol, hostName, ordinal, meta);

            source.AddEntry(menuLink);

            return menuLink;
        }