public MenuDefinition AddItem(MenuItemDefinition menuItem) { Items.Add(menuItem); return this; }
internal UserMenuItem(MenuItemDefinition menuItemDefinition) { Name = menuItemDefinition.Name; DisplayName = menuItemDefinition.DisplayName; Icon = menuItemDefinition.Icon; Order = menuItemDefinition.Order; Url = menuItemDefinition.Url; CustomData = menuItemDefinition.CustomData; Items = new List<UserMenuItem>(); }