private readonly IRoleRightAssigRepository _roleRightAssigRepository; //定义角色权限领域层对象 /// <summary> /// 通过构造函数注入领域仓储层的接口 /// </summary> /// <param name="menuRepositoty"></param> public MenuServer( IMenuRepositoty menuRepositoty, IButtonRepositoty buttonRepositoty, IUserRoleRepository userRoleRepository, IRoleRightAssigRepository roleRightAssigRepository ) { this._menuRepositoty = menuRepositoty; this._buttonRepositoty = buttonRepositoty; this._userRoleRepository = userRoleRepository; this._roleRightAssigRepository = roleRightAssigRepository; }
public SysRoleAssigServer(IMenuRepositoty menuRepositoty, IButtonRepositoty buttonRepositoty, IRoleRightAssigRepository roleRightAssigRepository, IRoleRepositoty roleRepositoty, IUnitofWork unitofWork ) { this._menuRepositoty = menuRepositoty; this._buttonRepositoty = buttonRepositoty; this._roleRightAssigRepository = roleRightAssigRepository; this._roleRepositoty = roleRepositoty; this._unitofWork = unitofWork; }
/// <summary> /// 通过构造函数注入领域仓储层的接口 /// </summary> /// <param name="menuRepositoty"></param> public MenuServer( IMenuRepositoty menuRepositoty, IButtonRepositoty buttonRepositoty, IUserRoleRepository userRoleRepository, IRoleRightAssigRepository roleRightAssigRepository, IRedisCacheManager redisCacheManager ) { this._menuRepositoty = menuRepositoty; this._buttonRepositoty = buttonRepositoty; this._userRoleRepository = userRoleRepository; this._roleRightAssigRepository = roleRightAssigRepository; this._redisCacheManager = redisCacheManager; }
public SysRoleAssigServer(IMenuRepositoty menuRepositoty, IButtonRepositoty buttonRepositoty, IRoleRightAssigRepository roleRightAssigRepository, IRoleRepositoty roleRepositoty, IUnitofWork unitofWork, IRedisCacheManager redisCacheManager ) { this._menuRepositoty = menuRepositoty; this._buttonRepositoty = buttonRepositoty; this._roleRightAssigRepository = roleRightAssigRepository; this._roleRepositoty = roleRepositoty; this._roleRightAssigRepository = roleRightAssigRepository; this._redisCacheManager = redisCacheManager; this._unitofWork = unitofWork; }
private readonly IRoleRightAssigRepository _roleRightAssigRepository;//定义角色权限领域层对象 /// <summary> /// 构造函数注入 /// </summary> /// <param name="menuRepositoty"></param> /// <param name="buttonRepositoty"></param> public ButtonServer(IMenuRepositoty menuRepositoty, IButtonRepositoty buttonRepositoty, IRoleRightAssigRepository roleRightAssigRepository) { this._buttonRepositoty = buttonRepositoty; this._menuRepositoty = menuRepositoty; this._roleRightAssigRepository = roleRightAssigRepository; }