public CodeZeroRoleManager(
            CodeZeroRoleStore <TRole, TUser> store,
            IEnumerable <IRoleValidator <TRole> > roleValidators,
            ILookupNormalizer keyNormalizer,
            IdentityErrorDescriber errors,
            ILogger <CodeZeroRoleManager <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;
            CodeZeroStore        = store;
            CodeZeroSession      = NullCodeZeroSession.Instance;
            LocalizationManager  = NullLocalizationManager.Instance;
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        protected CodeZeroRoleManager(
            CodeZeroRoleStore <TRole, TUser> store,
            IPermissionManager permissionManager,
            IRoleManagementConfig roleManagementConfig,
            ICacheManager cacheManager,
            IUnitOfWorkManager unitOfWorkManager)
            : base(store)
        {
            PermissionManager = permissionManager;
            CacheManager      = cacheManager;
            UnitOfWorkManager = unitOfWorkManager;

            RoleManagementConfig = roleManagementConfig;
            CodeZeroStore        = store;
            CodeZeroSession      = NullCodeZeroSession.Instance;
            LocalizationManager  = NullLocalizationManager.Instance;
        }