Beispiel #1
0
        /// <summary>
        /// Registers actions to render user menus in widget zones.
        /// </summary>
        private void ProcessUserMenus()
        {
            var menusInfo = _menuStorage.GetUserMenuInfos();

            foreach (var info in menusInfo)
            {
                _widgetProvider.RegisterAction(
                    info.WidgetZones,
                    "Menu",
                    "Menu",
                    new { area = "", name = info.SystemName, template = info.Template },
                    info.DisplayOrder);
            }
        }