示例#1
0
 public MenuManager_Test()
 {
     menuManager        = GetRequiredService <MenuItemManager>();
     testData           = GetRequiredService <CmsKitTestData>();
     menuItemRepository = GetRequiredService <IMenuItemRepository>();
     pageRepository     = GetRequiredService <IPageRepository>();
 }
示例#2
0
 public PageChangedHandler(
     IMenuItemRepository menuRepository,
     MenuItemManager menuManager)
 {
     MenuRepository = menuRepository;
     MenuManager    = menuManager;
 }