Class MenuBuilder
[Export(typeof(IMenuBuilder))]
public class MenuBuilder : IMenuBuilder
- Inheritance
-
MenuBuilder
- Implements
- Inherited Members
Constructors
MenuBuilder(ICommandService, MenuBarDefinition[], MenuDefinition[], MenuItemGroupDefinition[], MenuItemDefinition[], ExcludeMenuDefinition[], ExcludeMenuItemGroupDefinition[], ExcludeMenuItemDefinition[])
[ImportingConstructor]
public MenuBuilder(ICommandService commandService, MenuBarDefinition[] menuBars, MenuDefinition[] menus, MenuItemGroupDefinition[] menuItemGroups, MenuItemDefinition[] menuItems, ExcludeMenuDefinition[] excludeMenus, ExcludeMenuItemGroupDefinition[] excludeMenuItemGroups, ExcludeMenuItemDefinition[] excludeMenuItems)
Parameters
commandService
ICommandServicemenuBars
MenuBarDefinition[]menus
MenuDefinition[]menuItemGroups
MenuItemGroupDefinition[]menuItems
MenuItemDefinition[]excludeMenus
ExcludeMenuDefinition[]excludeMenuItemGroups
ExcludeMenuItemGroupDefinition[]excludeMenuItems
ExcludeMenuItemDefinition[]
Methods
BuildMenuBar(MenuBarDefinition, MenuModel, ILayoutItem)
public void BuildMenuBar(MenuBarDefinition menuBarDefinition, MenuModel result, ILayoutItem layoutItem)
Parameters
menuBarDefinition
MenuBarDefinitionresult
MenuModellayoutItem
ILayoutItem