Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 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;
 }
Пример #5
0
 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;
 }