Beispiel #1
0
 public LayoutController(IUserNavigationManager userNavigationManager, ILocalizationManager localizationManager, ISecurityAppService securityAppService, IMultiTenancyConfig multiTenancyConfig)
 {
     _userNavigationManager = userNavigationManager;
     _localizationManager = localizationManager;
     _securityAppService = securityAppService;
     _multiTenancyConfig = multiTenancyConfig;
 }
 public AbpUserConfigurationBuilder(
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager,
     ILocalizationManager localizationManager,
     IFeatureManager featureManager,
     IFeatureChecker featureChecker,
     IPermissionManager permissionManager,
     IUserNavigationManager userNavigationManager,
     ISettingDefinitionManager settingDefinitionManager,
     ISettingManager settingManager,
     IAbpAntiForgeryConfiguration abpAntiForgeryConfiguration,
     IAbpSession abpSession,
     IPermissionChecker permissionChecker)
 {
     _multiTenancyConfig = multiTenancyConfig;
     _languageManager = languageManager;
     _localizationManager = localizationManager;
     _featureManager = featureManager;
     _featureChecker = featureChecker;
     _permissionManager = permissionManager;
     _userNavigationManager = userNavigationManager;
     _settingDefinitionManager = settingDefinitionManager;
     _settingManager = settingManager;
     _abpAntiForgeryConfiguration = abpAntiForgeryConfiguration;
     _abpSession = abpSession;
     _permissionChecker = permissionChecker;
 }
 public LayoutController(
     IUserNavigationManager userNavigationManager, 
     ILocalizationManager localizationManager,
     ILanguageManager languageManager)
 {
     _userNavigationManager = userNavigationManager;
     _languageManager = languageManager;
 }
 public TopMenuViewComponent(
     IUserNavigationManager userNavigationManager,
     IAbpSession abpSession
     )
 {
     _userNavigationManager = userNavigationManager;
     _abpSession = abpSession;
 }
Beispiel #5
0
 public LayoutController(
     ISessionAppService sessionAppService, 
     IUserNavigationManager userNavigationManager, 
     IMultiTenancyConfig multiTenancyConfig)
 {
     _sessionAppService = sessionAppService;
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig = multiTenancyConfig;
 }
 public LayoutController(
     IUserNavigationManager userNavigationManager,
     ILocalizationManager localizationManager,
     ISessionAppService sessionAppService,
     IMultiTenancyConfig multiTenancyConfig)
 {
     _userNavigationManager = userNavigationManager;
     _localizationManager   = localizationManager;
     _sessionAppService     = sessionAppService;
     _multiTenancyConfig    = multiTenancyConfig;
 }
Beispiel #7
0
 public LayoutController(
     IUserNavigationManager userNavigationManager,
     ISessionAppService sessionAppService,
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager)
 {
     _userNavigationManager = userNavigationManager;
     _sessionAppService     = sessionAppService;
     _multiTenancyConfig    = multiTenancyConfig;
     _languageManager       = languageManager;
 }
Beispiel #8
0
 public AppAreaNameMenuViewComponent(
     IUserNavigationManager userNavigationManager,
     IAbpSession abpSession,
     TenantManager tenantManager,
     IUiThemeCustomizer uiThemeCustomizer)
 {
     _userNavigationManager = userNavigationManager;
     _abpSession            = abpSession;
     _tenantManager         = tenantManager;
     _uiThemeCustomizer     = uiThemeCustomizer;
 }
Beispiel #9
0
 public LayoutController(
     ICatalogAppService catalogAppService,
     IUserNavigationManager userNavigationManager,
     ISessionAppService sessionAppService,
     ILanguageManager languageManager)
 {
     _catalogAppService     = catalogAppService;
     _userNavigationManager = userNavigationManager;
     _sessionAppService     = sessionAppService;
     _languageManager       = languageManager;
 }
Beispiel #10
0
 public LayoutController(
     IPerRequestSessionCache sessionCache,
     IUserNavigationManager userNavigationManager,
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager)
 {
     _sessionCache          = sessionCache;
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _languageManager       = languageManager;
 }
 public LayoutController(
     IUserNavigationManager userNavigationManager, 
     ISessionAppService sessionAppService, 
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager)
 {
     _userNavigationManager = userNavigationManager;
     _sessionAppService = sessionAppService;
     _multiTenancyConfig = multiTenancyConfig;
     _languageManager = languageManager;
 }
Beispiel #12
0
 public LayoutController(
     ICacheManager cacheManager,
     IUserNavigationManager userNavigationManager,
     ILocalizationManager localizationManager,
     ILanguageManager languageManager,
     CustomerManager customerManager)
 {
     this._userNavigationManager = userNavigationManager;
     this._languageManager       = languageManager;
     this._customerManager       = customerManager;
     this._cacheManager          = cacheManager;
 }
Beispiel #13
0
 public LayoutController(
     IUserNavigationManager userNavigationManager,
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager,
     IMenuAppService menuAppService
     )
 {
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _languageManager       = languageManager;
     _menuAppService        = menuAppService;
 }
Beispiel #14
0
 public LayoutController(
     IUserNavigationManager userNavigationManager,
     ILocalizationManager localizationManager,
     ISessionAppService sessionAppService,
     IMultiTenancyConfig multiTenancyConfig, IPagesService pagesService, IMenuService menuService, ILanguageManager languageManager)
 {
     _userNavigationManager = userNavigationManager;
     _localizationManager   = localizationManager;
     _sessionAppService     = sessionAppService;
     _multiTenancyConfig    = multiTenancyConfig;
     _pagesService          = pagesService;
     _menuService           = menuService;
     _languageManager       = languageManager;
 }
Beispiel #15
0
        public NavigationMenusExt(
            NavigationMenusProvider navigationMenusProvider,
            INavigationManager navigationManager,
            IPermissionManager permissionManager,
            IUserNavigationManager userNavigationManager
            )
        {
            _navigationMenusProvider = navigationMenusProvider;
            _navigationManager       = navigationManager;
            _permissionManager       = permissionManager;
            _userNavigationManager   = userNavigationManager;

            AbpSession = NullAbpSession.Instance;
        }
Beispiel #16
0
 public HeaderViewComponent(
     ISessionAppService sessionAppService,
     IUserNavigationManager userNavigationManager,
     IMultiTenancyConfig multiTenancyConfig,
     IAbpSession abpSession,
     ILanguageManager languageManager,
     ISettingManager settingManager)
 {
     _sessionAppService     = sessionAppService;
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _abpSession            = abpSession;
     _languageManager       = languageManager;
     _settingManager        = settingManager;
 }
 public LayoutController(
     IUserNavigationManager userNavigationManager,
     ISessionAppService sessionAppService,
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager, IPublisherAppService publisherAppService, IAcademicUnitAppService academicUnitAppService, ICareerAppService careerAppService, ICourseCategoriesAppService courseCategoriesAppService, INotificationAppService notificationAppService)
 {
     _userNavigationManager      = userNavigationManager;
     _sessionAppService          = sessionAppService;
     _multiTenancyConfig         = multiTenancyConfig;
     _languageManager            = languageManager;
     _publisherAppService        = publisherAppService;
     _academicUnitAppService     = academicUnitAppService;
     _careerAppService           = careerAppService;
     _courseCategoriesAppService = courseCategoriesAppService;
     _notificationAppService     = notificationAppService;
 }
Beispiel #18
0
 public LayoutController(
     IPerRequestSessionCache sessionCache,
     IUserNavigationManager userNavigationManager,
     IMultiTenancyConfig multiTenancyConfig,
     ILanguageManager languageManager,
     ITenancyNameFinder tenancyNameFinder,
     IUnitOfWorkManager unitOfWorkManager,
     TenantManager tenantManager)
 {
     _sessionCache          = sessionCache;
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _languageManager       = languageManager;
     _tenancyNameFinder     = tenancyNameFinder;
     _unitOfWorkManager     = unitOfWorkManager;
     _tenantManager         = tenantManager;
 }
 public HeaderViewComponent(
     IUserNavigationManager userNavigationManager,
     IMultiTenancyConfig multiTenancyConfig,
     IAbpSession abpSession,
     ILanguageManager languageManager,
     ISettingManager settingManager,
     IPerRequestSessionCache sessionCache,
     IWebUrlService webUrlService,
     TenantManager tenantManager)
 {
     _userNavigationManager = userNavigationManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _abpSession            = abpSession;
     _languageManager       = languageManager;
     _settingManager        = settingManager;
     _sessionCache          = sessionCache;
     _webUrlService         = webUrlService;
     _tenantManager         = tenantManager;
 }
        public SysHomeController(
            IUserNavigationManager userNavigationManager,
            ISettingManager settingManager,
            INavigationManager navigationManager,
            ILocalizationContext localizationContext,
            ILanguageManager languageManager,
            Abp.Authorization.IPermissionChecker permissionChecker,
            UserInfoManager userInfoManager
            )
        {
            _permissionChecker = permissionChecker;

            _localizationContext = localizationContext;
            _languageManager     = languageManager;

            _navigationManager     = navigationManager;
            _userInfoManager       = userInfoManager;
            _userNavigationManager = userNavigationManager;
            _settingManager        = settingManager;
        }
Beispiel #21
0
        private void Initialize()
        {
            //Navigation providers should be registered
            _iocManager.Register <MyNavigationProvider1>();
            _iocManager.Register <MyNavigationProvider2>();

            //Preparing navigation configuration
            var configuration = new NavigationConfiguration();

            configuration.Providers.Add <MyNavigationProvider1>();
            configuration.Providers.Add <MyNavigationProvider2>();

            //Initializing navigation manager
            NavigationManager = new NavigationManager(_iocManager, configuration);
            NavigationManager.Initialize();

            //Create user navigation manager to test
            UserNavigationManager = new UserNavigationManager <TTenantId, TUserId>(NavigationManager)
            {
                PermissionChecker = CreateMockPermissionChecker()
            };
        }
Beispiel #22
0
 public AccountController(
     TenantManager tenantManager,
     UserManager userManager,
     RoleManager roleManager,
     IUnitOfWorkManager unitOfWorkManager,
     IMultiTenancyConfig multiTenancyConfig,
     LogInManager logInManager,
     ISessionAppService sessionAppService,
     ILanguageManager languageManager,
     ITenantCache tenantCache,
     IAuthenticationManager authenticationManager,
     IUserNavigationManager userNavigationManager) : base(userNavigationManager)
 {
     _tenantManager         = tenantManager;
     _userManager           = userManager;
     _roleManager           = roleManager;
     _unitOfWorkManager     = unitOfWorkManager;
     _multiTenancyConfig    = multiTenancyConfig;
     _logInManager          = logInManager;
     _sessionAppService     = sessionAppService;
     _languageManager       = languageManager;
     _tenantCache           = tenantCache;
     _authenticationManager = authenticationManager;
 }
 public LayoutController(IUserNavigationManager userNavigationManager, ILocalizationManager localizationManager, UserManager userManager)
 {
     _userNavigationManager = userNavigationManager;
     _localizationManager = localizationManager;
     _userManager = userManager;
 }
 public LayoutController(IUserNavigationManager userNavigationManager, ILocalizationManager localizationManager)
 {
     _userNavigationManager = userNavigationManager;
     _localizationManager   = localizationManager;
 }
Beispiel #25
0
 public BannerController(IBannerAppService bannerAppService, IUserNavigationManager userNavigationManager) : base(userNavigationManager)
 {
     _bannerAppService = bannerAppService;
 }
 public AdminSideBarViewComponent(
     IUserNavigationManager userNavigationManager, IAbpSession abpSession)
 {
     _userNavigationManager = userNavigationManager;
     _abpSession            = abpSession;
 }
Beispiel #27
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public MenuAppService(IRepository <Menu> menuRepository, IUserNavigationManager userNavigationManager)
 {
     _menuRepository        = menuRepository;
     _userNavigationManager = userNavigationManager;
 }
Beispiel #28
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="userNavigationManager">用户导航管理器</param>
 public NavigationScriptManager(IUserNavigationManager userNavigationManager)
 {
     _userNavigationManager = userNavigationManager;
     AbpSession             = NullAbpSession.Instance;
 }
Beispiel #29
0
 public NavigationScriptManager(IUserNavigationManager userNavigationManager)
 {
     _userNavigationManager = userNavigationManager;
     Session = NullInfrastructureSession.Instance;
 }
 public LayoutController(
     IUserNavigationManager userNavigationManager, UserManager userManager)
 {
     _userNavigationManager = userNavigationManager;
     _userManager           = userManager;
 }
Beispiel #31
0
 public NavigationScriptManager(IUserNavigationManager userNavigationManager)
 {
     _userNavigationManager = userNavigationManager;
     CodeZeroSession        = NullCodeZeroSession.Instance;
 }
 public NavigationScriptManager(IUserNavigationManager userNavigationManager)
 {
     _userNavigationManager = userNavigationManager;
     AbpSession = NullAbpSession.Instance;
 }
 public MyAbpUserConfigurationBuilder(IHttpContextAccessor httpContextAccessor, UserManager userManager, PermissionInfoManager permissionInfoManager, IMultiTenancyConfig multiTenancyConfig, ILanguageManager languageManager, ILocalizationManager localizationManager, IFeatureManager featureManager, IFeatureChecker featureChecker, IPermissionManager permissionManager, IUserNavigationManager userNavigationManager, ISettingDefinitionManager settingDefinitionManager, ISettingManager settingManager, IAbpAntiForgeryConfiguration abpAntiForgeryConfiguration, IAbpSession abpSession, IPermissionChecker permissionChecker) : base(multiTenancyConfig, languageManager, localizationManager, featureManager, featureChecker, permissionManager, userNavigationManager, settingDefinitionManager, settingManager, abpAntiForgeryConfiguration, abpSession, permissionChecker)
 {
     _httpContextAccessor   = httpContextAccessor;
     _userManager           = userManager;
     _permissionInfoManager = permissionInfoManager;
 }
 public ReportController(IReportAppService reportAppService, IUserNavigationManager userNavigationManager) :
     base(userNavigationManager)
 {
     _reportAppService = reportAppService;
 }
Beispiel #35
0
 public NavigationScriptManager(IUserNavigationManager <TTenantId, TUserId> userNavigationManager)
 {
     _userNavigationManager = userNavigationManager;
     AbpSession             = NullAbpSession <TTenantId, TUserId> .Instance;
 }
 public TopMessageViewComponent(IUserNavigationManager userNavigationManager,
                                IAbpSession abpSession
                                ) : base(userNavigationManager, abpSession)
 {
 }
Beispiel #37
0
 public NavigationScriptManager(IUserNavigationManager userNavigationManager)
 {
     this.userNavigationManager = userNavigationManager;
     StudioXSession             = NullStudioXSession.Instance;
 }
 public ProductCategoryController(ICategoryAppService categoryAppService, IUserNavigationManager userNavigationManager) : base(userNavigationManager)
 {
     _categoryAppService = categoryAppService;
 }