Interface IMenuRegistry
- Namespace
- Acuit.Pinpoint.Workstation
- Assembly
- Acuit.Pinpoint.Workstation.Interfaces.dll
Provides facilities for extending the main menu.
public interface IMenuRegistry
Methods
AddMenuItem(string, MenuItemViewModel)
Adds an item to a menu.
void AddMenuItem(string menuName, MenuItemViewModel menuItem)
Parameters
menuName
stringThe name of the menu to which to add an item. See the MenuNames static class for possible values.
menuItem
MenuItemViewModelThe menu item to add.
Exceptions
- ArgumentException
The menu name
menuName
is not valid.- ArgumentNullException
menuItem
is null.