public AbpRoleManager( AbpRoleStore <TRole, TUser> store, IEnumerable <IRoleValidator <TRole> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <AbpRoleManager <TRole, TUser> > logger, IPermissionManager permissionManager, ICacheManager cacheManager, IUnitOfWorkManager unitOfWorkManager, IRoleManagementConfig roleManagementConfig) : base( store, roleValidators, keyNormalizer, errors, logger) { _permissionManager = permissionManager; _cacheManager = cacheManager; _unitOfWorkManager = unitOfWorkManager; RoleManagementConfig = roleManagementConfig; AbpStore = store; AbpSession = NullAbpSession.Instance; LocalizationManager = NullLocalizationManager.Instance; }
public AbpRoleManager( AbpRoleStore <TRole, TUser> store, IEnumerable <IRoleValidator <TRole> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <AbpRoleManager <TRole, TUser> > logger, IPermissionManager permissionManager, ICacheManager cacheManager, IUnitOfWorkManager unitOfWorkManager, IRoleManagementConfig roleManagementConfig, IRepository <OrganizationUnit, long> organizationUnitRepository, IRepository <OrganizationUnitRole, long> organizationUnitRoleRepository) : base( store, roleValidators, keyNormalizer, errors, logger) { _permissionManager = permissionManager; _cacheManager = cacheManager; _unitOfWorkManager = unitOfWorkManager; RoleManagementConfig = roleManagementConfig; _organizationUnitRepository = organizationUnitRepository; _organizationUnitRoleRepository = organizationUnitRoleRepository; AbpStore = store; AbpSession = NullAbpSession.Instance; LocalizationManager = NullLocalizationManager.Instance; LocalizationSourceName = AbpZeroConsts.LocalizationSourceName; }
/// <summary> /// Constructor. /// </summary> protected AbpRoleManager( AbpRoleStore <TTenant, TRole, TUser> store, IPermissionManager permissionManager, IRoleManagementConfig roleManagementConfig, IUnitOfWorkManager unitOfWorkManager) : base(store) { RoleManagementConfig = roleManagementConfig; _permissionManager = permissionManager; _unitOfWorkManager = unitOfWorkManager; AbpStore = store; AbpSession = NullAbpSession.Instance; LocalizationManager = NullLocalizationManager.Instance; }
/// <summary> /// Constructor. /// </summary> protected AbpRoleManager( AbpRoleStore <TTenant, TRole, TUser> store, IPermissionManager permissionManager, IRoleManagementConfig roleManagementConfig, ICacheManager cacheManager) : base(store) { _permissionManager = permissionManager; _cacheManager = cacheManager; RoleManagementConfig = roleManagementConfig; AbpStore = store; AbpSession = NullAbpSession.Instance; LocalizationManager = NullLocalizationManager.Instance; }
/// <summary> /// Constructor. /// </summary> protected AbpRoleManager( AbpRoleStore <TRole, TUser> store, IPermissionManager permissionManager, IRoleManagementConfig roleManagementConfig, ICacheManager cacheManager, IUnitOfWorkManager unitOfWorkManager) : base(store) { PermissionManager = permissionManager; CacheManager = cacheManager; UnitOfWorkManager = unitOfWorkManager; RoleManagementConfig = roleManagementConfig; AbpStore = store; AbpSession = NullAbpSession.Instance; LocalizationManager = NullLocalizationManager.Instance; LocalizationSourceName = AbpZeroConsts.LocalizationSourceName; }
protected AbpRoleManager(AbpRoleStore <TRole, TTenant, TUser> store, IPermissionManager permissionManager) : base(store) { _permissionManager = permissionManager; }
public AbpRoleManager(AbpRoleStore store, IPermissionManager permissionManager) : base(store) { _permissionManager = permissionManager; }