Table of Contents

Class MenuBuilder

Namespace
Gemini.Modules.MainMenu
Assembly
Gemini.dll
[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 ICommandService
menuBars 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 MenuBarDefinition
result MenuModel
layoutItem ILayoutItem