コード例 #1
0
 public SysPermissionService(ClientRepositoryBase <SysPermission> repo, IServiceProvider serviceProvider) : base(repo, serviceProvider)
 {
     this._distributedCache         = _serviceProvider.GetService <IDistributedCache>();
     this._sysMenuService           = _serviceProvider.GetService <SysMenuService>();
     this._adminWorkContextProvider = _serviceProvider.GetService <IAdminWorkContextProvider>();
     this._sysRoleService           = _serviceProvider.GetService <SysRoleService>();
 }
コード例 #2
0
 public SysRoleAdminUserInfoService(ClientRepositoryBase <SysRoleAdminUserInfo> repo, IServiceProvider serviceProvider) : base(repo, serviceProvider)
 {
     _sysRoleService = _serviceProvider.GetService <SysRoleService>();
 }