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