public RoleMenuController(IRoleAppService roleAppService, IMenuAppService menuAppService, IRoleMenuAppService roleMenuAppService, IMenuRepository menuRepository) { _roleAppService = roleAppService; _menuAppService = menuAppService; _roleMenuAppService = roleMenuAppService; _menuRepository = menuRepository; }
public OpenAreaController( ICollaboratorAppService collaboratorPageAppService, IContactAppService contactAppService, IHomeAppService homeAppService, IHowToHelpAppService howToHelpAppService, ILanguageAppService languageAppService, ILogoAppService logoAppService, IMenuAppService menuAppService, IVolunteerAppService volunteerAppService, IWhoAreWeAppService whoAreWeAppService, IUrlHelper urlHelper) { _collaboratorPageAppService = collaboratorPageAppService; _contactAppService = contactAppService; _homeAppService = homeAppService; _howToHelpAppService = howToHelpAppService; _languageAppService = languageAppService; _logoAppService = logoAppService; _menuAppService = menuAppService; _volunteerAppService = volunteerAppService; _whoAreWeAppService = whoAreWeAppService; _languageEnricher = new LanguageEnricher(urlHelper); _logoEnricher = new LogoEnricher(urlHelper); _menuEnricher = new MenuEnricher(urlHelper); _collaboratorEnricher = new CollaboratorPageEnricher(urlHelper); _contactEnricher = new ContactEnricher(urlHelper); _homeEnricher = new HomeEnricher(urlHelper); _howToHelpEnricher = new HowToHelpEnricher(urlHelper); _volunteerEnricher = new VolunteerPageEnricher(urlHelper); _whoAreWeEnricher = new WhoAreWeEnricher(urlHelper); }
public TopBarNavViewComponent( IUserNavigationManager userNavigationManager, IAbpSession abpSession, IMenuAppService menuAppService) { _abpSession = abpSession; _menuAppService = menuAppService; }
public MenuItemService(IRepository<AuthorityMenuItemInfo, Guid> menuItemRepository, IMenuAppService menuAppService, ICacheHandler cache) { _menuItemRepository = menuItemRepository; _menuAppService =menuAppService; cacheHandler = cache; }
//根据数组查询菜单 public static DataSet GetMenulist(string menu_ids) { IMenuAppService service = IocManager.Instance.Resolve <IMenuAppService>(); var menuAttr = menu_ids.Split(','); List <Menu> userList = new List <Menu>(); foreach (var menuid in menuAttr) { int id = 0; int.TryParse(menuid, out id); var menuList = service.GetMenulist(id); if (menuList != null) { menuList.ForEach(x => userList.Add(ConvertFromDto(x))); } } if (userList != null) { return(userList.ToDataSet <Menu>()); } else { DataSet ds = new DataSet(); return(ds); } }
public MenuController( IMenuAppService menuAppService, IUserRoleFinder userRoleFinder) { MenuAppService = menuAppService; UserRoleFinder = userRoleFinder; }
public MenuService(IMenuAppService menuAppService, IMenuDomainService menuDomainService, IEmployeeDomainService employeeDomainService) { _menuAppService = menuAppService; _menuDomainService = menuDomainService; _employeeDomainService = employeeDomainService; _applicationEnginee = new ApplicationEnginee(); }
public MenuController(IMenuAppService menuService , IAccountAppService accountService , IUserContext userContext) { _menuService = menuService; _accountService = accountService; _userContext = userContext; }
public RoleController(IRoleAppService service, IMenuAppService menuAppService, IVerifyTokenAppService verifyTokenAppService, IHttpContextAccessor httpContextAccesor, IHttpClientFactory clientFactory) : base(clientFactory) { _service = service; _menuAppService = menuAppService; _verifyTokenAppService = verifyTokenAppService; _httpContextAccesor = httpContextAccesor; }
public MenuAppServiceTest() { _menuAppService = LocalIocManager.Resolve <IMenuAppService>(); UsingDbContext(context => new PageBuilder(context).Build()); UsingDbContext(context => new PageDataBuilder(context).Build()); UsingDbContext(context => new MenuBuilder(context).Build()); }
public SideBarNavViewComponent( IUserNavigationManager userNavigationManager, IMenuManager menuManager, IAbpSession abpSession, IMenuAppService menuAppService) { _userNavigationManager = userNavigationManager; _menuManager = menuManager; _abpSession = abpSession; _menuAppService = menuAppService; }
public LayoutController( IUserNavigationManager userNavigationManager, IMultiTenancyConfig multiTenancyConfig, ILanguageManager languageManager, IMenuAppService menuAppService ) { _userNavigationManager = userNavigationManager; _multiTenancyConfig = multiTenancyConfig; _languageManager = languageManager; _menuAppService = menuAppService; }
public UserController(IUserAppService userAppService, IRoleAppService roleAppService, IMenuAppService menuAppService, IDepartmentAppService departmentAppService, IUserRepository userRepository) { _departmentAppService = departmentAppService; _userAppService = userAppService; _roleAppService = roleAppService; _menuAppService = menuAppService; _userRepository = userRepository; }
public MenuDomainService(IOrganizationMenuAppService organizationMenuAppService, IRoleMenuAppService roleMenuAppService, IEmployeeMenuAppService employeeMenuAppService, IRelationOrganizationEmployeeAppService relationOrganizationEmployeeAppService, IRelationEmployeeRoleAppService relationEmployeeRoleAppService, IMenuAppService menuAppService) { _applicationEnginee = new ApplicationEnginee(); _organizationMenuAppService = organizationMenuAppService; _roleMenuAppService = roleMenuAppService; _employeeMenuAppService = employeeMenuAppService; _relationOrganizationEmployeeAppService = relationOrganizationEmployeeAppService; _relationEmployeeRoleAppService = relationEmployeeRoleAppService; _menuAppService = menuAppService; }
public static Menu GetModel(int menu_id) { IMenuAppService service = IocManager.Instance.Resolve <IMenuAppService>(); if (service == null) { return(null);; } else { var menuDto = service.GetModel(menu_id); return(ConvertFromDto(menuDto)); } }
public EmployeeDomainService(IOrganizationAppService organizationAppService, IRoleAppService roleAppService, IRelationOrganizationEmployeeAppService relationOrganizationEmployeeAppService, IRelationEmployeeRoleAppService relationEmployeeRoleAppService, IEmployeeAppService employeeAppService, IOrganizationElementAppService organizationElementAppService, IRoleElementAppService roleElementAppService, IEmployeeElementAppService employeeElementAppService, IOrganizationMenuAppService organizationMenuAppService, IRoleMenuAppService roleMenuAppService, IEmployeeMenuAppService employeeMenuAppService, IModuleElementAppService moduleElementAppService, IMenuAppService menuAppService, IModuleAppService moduleAppService) { _organizationAppService = organizationAppService; _roleAppService = roleAppService; _relationOrganizationEmployeeAppService = relationOrganizationEmployeeAppService; _relationEmployeeRoleAppService = relationEmployeeRoleAppService; _employeeAppService = employeeAppService; _organizationElementAppService = organizationElementAppService; _roleElementAppService = roleElementAppService; _employeeElementAppService = employeeElementAppService; _organizationMenuAppService = organizationMenuAppService; _roleMenuAppService = roleMenuAppService; _employeeMenuAppService = employeeMenuAppService; _moduleElementAppService = moduleElementAppService; _menuAppService = menuAppService; _moduleAppService = moduleAppService; _applicationEnginee = new ApplicationEnginee(); }
public MenuController(IMenuAppService menuAppService, IHttpClientFactory clientFactory) : base(clientFactory) { _menuAppService = menuAppService; }
public MenuController(IMenuAppService service) { _service = service; }
public NavigationViewComponent(IMenuAppService menuAppService, IUserAppService userAppService) { _menuAppService = menuAppService; _userAppService = userAppService; }
//构造函数 public ItemBaseOnHardwareEditViewComponent(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public HomeController(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public MenuFilter(IMenuAppService menuAppService, IHostingEnvironment hostingEnvironment) { _menuAppService = menuAppService; _hostingEnvironment = hostingEnvironment; }
//构造函数 public UserEditViewComponent(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public MenuController(IMenuAppService appService) { _appService = appService; }
//构造函数 public MenuAddViewComponent(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public MenuController(IMenuAppService _menuAppService) { menuAppService = _menuAppService; }
public MenuApp(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public MenuController(IMenuAppService menuAppService, Vic.Core.Application.IServices.IUserAppService userAppService) { _menuAppService = menuAppService; }
//构造函数 public MenuDeleteViewComponent(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public MenuController(IMenuAppService menuService , UserContext userContext) { _menuService = menuService; _userContext = userContext; }
public RoleService(IRepository<AuthorityRoleInfo, Guid> roleRepository, IMenuAppService menuAppService, ICacheHandler cache) { _roleRepository = roleRepository; _menuAppService = menuAppService; cacheHandler = cache; }
public MenuController(IMenuAppService menuAppService) { _menuAppService = menuAppService; }
public TodosController(IMenuAppService todoAppService) { _todoAppService = todoAppService; }