public UserDomainService(IDapperRepository <UserInfo, long> userRepository, IDapperRepository <Role, long> roleRepository, IDapperRepository <UserRole, long> userRoleRepository, IDapperRepository <UserUserGroupRelation, long> userUserGroupRelationRoleRepository, IDapperRepository <Menu, long> menuRepository, IRoleDomainService roleDomainService, IUserGroupDomainService userGroupDomainService, IPasswordHelper passwordHelper, IMenuDomainService menuDomainService, ILockerProvider lockerProvider, IDapperRepository <UserGroup, long> userGroupRepository, IDapperRepository <UserGroupPermission, long> userGroupPermissionRepository, IDapperRepository <UserGroupOrganization, long> userGroupOrganizationDapperRepository) { _userRepository = userRepository; _roleRepository = roleRepository; _userRoleRepository = userRoleRepository; _userUserGroupRelationRepository = userUserGroupRelationRoleRepository; _menuRepository = menuRepository; _roleDomainService = roleDomainService; _userGroupDomainService = userGroupDomainService; _passwordHelper = passwordHelper; _menuDomainService = menuDomainService; _lockerProvider = lockerProvider; _userGroupRepository = userGroupRepository; _userGroupPermissionRepository = userGroupPermissionRepository; _userGroupOrganizationDapperRepository = userGroupOrganizationDapperRepository; _session = NullSurgingSession.Instance; }
public MenuService(IMenuAppService menuAppService, IMenuDomainService menuDomainService, IEmployeeDomainService employeeDomainService) { _menuAppService = menuAppService; _menuDomainService = menuDomainService; _employeeDomainService = employeeDomainService; _applicationEnginee = new ApplicationEnginee(); }
public MenuPermissionService(IActionRepository actionRepository, IMenuRepository menuRepository, IActionRoleRepository actionRoleRepository, IMenuRoleRepository menuRoleRepository, IMenuDomainService menuDomainService) { _actionRepository = actionRepository; _menuRepository = menuRepository; _actionRoleRepository = actionRoleRepository; _menuRoleRepository = menuRoleRepository; _menuDomainService = menuDomainService; }
public PermissionDomainService(IMenuDomainService menuDomainService, IOperationDomainService operationDomainService, IRoleDomainService roleDomainService, IServiceRouteProvider serviceRouteProvider, IUserDomainService userDomainService, IUserGroupDomainService userGroupDomainService) { _menuDomainService = menuDomainService; _operationDomainService = operationDomainService; _roleDomainService = roleDomainService; _serviceRouteProvider = serviceRouteProvider; _userDomainService = userDomainService; _userGroupDomainService = userGroupDomainService; }
/// <summary> /// 初始化应用程序服务 /// </summary> /// <param name="unitOfWork">工作单元</param> /// <param name="applicationRepository">应用程序仓储</param> public ApplicationService( IUniversalSysCenterUnitOfWork unitOfWork, IApplicationRepository applicationRepository, IUserRepository userRepository, IMenuDomainService menuDomainService, IPermissionDomainService permissionDomainService ) : base(unitOfWork, applicationRepository) { ApplicationRepository = applicationRepository; _userRepository = userRepository; _menuDomainService = menuDomainService; _permissionDomainService = permissionDomainService; }
public PermissionAppService(IMenuDomainService menuDomainService, IOperationDomainService operationDomainService, IDapperRepository <Menu, long> menuRepository, IDapperRepository <Operation, long> operationRepository, IActionDomainService actionDomainService, IPermissionDomainService permissionDomainService) { _menuDomainService = menuDomainService; _operationDomainService = operationDomainService; _menuRepository = menuRepository; _operationRepository = operationRepository; _actionDomainService = actionDomainService; _permissionDomainService = permissionDomainService; _session = NullSurgingSession.Instance; }
public PermissionAppService(IMenuDomainService menuDomainService, IOperationDomainService operationDomainService, IDapperRepository <Menu, long> menuRepository, IDapperRepository <Operation, long> operationRepository, IActionDomainService actionDomainService, IPermissionDomainService permissionDomainService) { _menuDomainService = menuDomainService; _operationDomainService = operationDomainService; _menuRepository = menuRepository; _operationRepository = operationRepository; _actionDomainService = actionDomainService; _permissionDomainService = permissionDomainService; _session = NullSurgingSession.Instance; _cacheProvider = CacheContainer.GetService <ICacheProvider>(HeroConstants.CacheProviderKey); }