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
menuNamestringThe name of the menu to which to add an item. See the MenuNames static class for possible values.
menuItemMenuItemViewModelThe menu item to add.
Exceptions
- ArgumentException
The menu name
menuNameis not valid.- ArgumentNullException
menuItemis null.