private void Add(MenuItemViewModel viewModel) { Items.Add(viewMenuItemViewModel); }
public MenuViewModel(ILoggerFacade logger, IUnityContainer container) : base(logger) { this.container = container; viewMenuItemViewModel = container.Resolve <MenuItemViewModel>(); viewMenuItemViewModel.Header = "Views"; }