Пример #1
0
 public MenuDefinition AddItem(MenuItemDefinition menuItem)
 {
     Items.Add(menuItem);
     return this;
 }
Пример #2
0
 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>();
 }