Esempio n. 1
0
 public MenuTreeController(IMenuServices menuServices, IHttpContextAccessor httpContext, IUser user, IUserRoleServices userRoleServices, IRoleModuleService roleModuleServive)
 {
     _menuServices      = menuServices;
     _httpContext       = httpContext;
     _user              = user; this._userRoleServices = userRoleServices;
     _roleModuleServive = roleModuleServive;
 }
 public ConfigSystemController(IConfigSystemServices services, IMenuServices menuService, IContentServices contentService)
 {
     this._services       = services;
     this._menuService    = menuService;
     this._contentService = contentService;
     _db = new www.Models.ModelPCT();
 }
Esempio n. 3
0
 public HomeController(IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IContactServices contactServices)
 {
     this._services             = services;
     this._menuServices         = menuServices;
     this._configSystemServices = configSystemServices;
     this._contactServices      = contactServices;
 }
Esempio n. 4
0
 public PermissionHandler(IMenuServices menuServices, ILoggerFactory loggerFactory)
 {
     //_db = db;
     //IUnitOfWork uow = new UnitOfWork<SIGDbContext>(_db);
     _menuServices = menuServices;
     _logger       = loggerFactory.CreateLogger(this.GetType().FullName);
 }
Esempio n. 5
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 /// <param name="schemes"></param>
 /// <param name="accessor"></param>
 /// <param name="menuServices"></param>
 /// <param name="user"></param>
 public PermissionHandler(IAuthenticationSchemeProvider schemes, IHttpContextAccessor accessor, IMenuServices menuServices, IUser user)
 {
     this._accessor    = accessor;
     this.menuServices = menuServices;
     this.user         = user;
     this.Schemes      = schemes;
 }
 public CodeCreateController(ICodeContext codeContext, IMenuServices menuServices, IUnitOfWork unitOfWork, IMapper mapper)
 {
     this.codeContext  = codeContext;
     this.menuServices = menuServices;
     this.unitOfWork   = unitOfWork;
     this.mapper       = mapper;
 }
Esempio n. 7
0
 public MenuController(IMenuServices menuService, IMenuCategoryServices menuCategoryService, IViewRenderService viewRenderService, IMapper mapper)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _viewRenderService   = viewRenderService;
     _mapper = mapper;
 }
 public MenuController(ICacheService cacheService, IMenuServices menuService, IMenuCategoryServices menuCategoryService, IMapper mapper)
 {
     _cacheService        = cacheService;
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _mapper = mapper;
 }
Esempio n. 9
0
 public ConfigSystemController(IConfigSystemServices services, ILanguageServices languageService, IMenuServices menuService, IContentServices contentService)
 {
     this._services        = services;
     this._languageService = languageService;
     this._menuService     = menuService;
     this._contentService  = contentService;
 }
        public MenuRoleController(IMenuRoleService menuroleService, IMenuRole menurole, IMenuServices menuservice)
        {
            _IMenuRoleService = menuroleService;
            _IMenuServices    = menuservice;
            _IMenuRole        = menurole;

            _menuRole = new MenuRole();
        }
Esempio n. 11
0
 public DefaultController(IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IVideoServices videoServices, ILanguageServices languageServices)
 {
     this._services             = services;
     this._menuServices         = menuServices;
     this._configSystemServices = configSystemServices;
     this._videoServices        = videoServices;
     this._languageServices     = languageServices;
 }
Esempio n. 12
0
 public MenuController(IHttpContextAccessor accessor, IRedisBaseRepository redis, IMenuServices menuServices, IMapper mapper)
 {
     _accessor     = accessor;
     _redis        = redis;
     _mapper       = mapper;
     _userRole     = new AuthHelper(accessor, redis).UserRoleCache;
     _menuServices = menuServices;
 }
Esempio n. 13
0
 /// <inheritdoc />
 public AccountsController(IHandlerResponse responseHandler,
                           ILoginServices loginServices,
                           ITokenBusiness tokenBusiness, IMenuServices menuServices)
     : base(responseHandler, tokenBusiness)
 {
     _loginServices = loginServices;
     _menuServices  = menuServices;
 }
 public ApproverLoginController(ILoginViewService loginViewService, IMenuServices menuServices, ILeaveApprovalService leaveApprovalService, ILogger <ApproverLoginController> logger, IConfiguration rfc)
 {
     _Ileaveapprovalservice = leaveApprovalService;
     _imenuservice          = menuServices;
     _rfcconfig             = rfc;
     _logger            = logger;
     _ILoginViewService = loginViewService;
 }
Esempio n. 15
0
 public FrontMenuController(IMenuCategoryServices menuCategoryService, IMenuServices menuService, IPageMetaServices pageMetaService, IMapper mapper, IQNZDbContext db)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     _pageMetaService     = pageMetaService;
     _mapper = mapper;
     _db     = db;
 }
Esempio n. 16
0
 public TemplateController(UserManager userManager, RoleManager roleManager, IMenuServices menuAppService, IMenuInRolesServices menuInRolesAppService,
                           IAccountServices accountServices)
 {
     this.userManager       = userManager;
     this.roleManager       = roleManager;
     _menuInRolesAppService = menuInRolesAppService;
     _accountServices       = accountServices;
     _menuAppService        = menuAppService;
 }
Esempio n. 17
0
 public NavigationController(IMenuServices menuService, IViewRenderService viewRenderService, IMapper mapper,
                             QNZContext context, ICacheService memoryCache)
 {
     _menuService       = menuService;
     _viewRenderService = viewRenderService;
     _mapper            = mapper;
     _context           = context;
     _cache             = memoryCache;
 }
Esempio n. 18
0
 public RolesController(IRoleServices roleServices, RoleManager roleManager, ClaimedActionsProvider claimedActionsProvider,
                        IMenuServices menuService, IMenuInRolesServices menuInRolesService)
 {
     _roleServices           = roleServices;
     _roleManager            = roleManager;
     _claimedActionsProvider = claimedActionsProvider;
     _menuService            = menuService;
     _menuInRolesService     = menuInRolesService;
 }
 protected override void Dispose(bool isDisposing)
 {
     if (isDisposing)
     {
         _IMenuServices = null;
         _IMenu         = null;
         _menu          = null;
     }
 }
Esempio n. 20
0
 public MenuController(IMenuServices menuService, IMenuCategoryServices menuCategoryService, IMapper mapper,
                       QNZContext context, ICacheService memoryCache)
 {
     _menuService         = menuService;
     _menuCategoryService = menuCategoryService;
     //_viewRenderService = viewRenderService;
     _mapper  = mapper;
     _context = context;
     _cache   = memoryCache;
 }
Esempio n. 21
0
 public AccountController(IOptions <MySettingsModel> app, ILoginViewService loginViewService, IMenuServices menuServices, ISMSUtility sMS, IConfiguration rfc, ILogger <AccountController> logger)
 {
     appSettings = app;
     ApplicationSettings.WebApiUrl = appSettings.Value.WebApiBaseUrl;
     _ILoginViewService            = loginViewService;
     _ImenuServices = menuServices;
     _smsutility    = sMS;
     _rfcconfig     = rfc;
     _logger        = logger;
 }
Esempio n. 22
0
 public HomeController(ICategoryVideoServices categoryVideoServices, IFeedbackServices feedbackServices, IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IVideoServices videoServices, ILanguageServices languageService, IContactServices contactServices, ILienketWebServices lienKetServices)
 {
     this._services              = services;
     this._menuServices          = menuServices;
     this._configSystemServices  = configSystemServices;
     this._videoServices         = videoServices;
     this._languageService       = languageService;
     this._feedbackServices      = feedbackServices;
     this._categoryVideoServices = categoryVideoServices;
     this._contactServices       = contactServices;
     this._lienKetServices       = lienKetServices;
 }
Esempio n. 23
0
        public MenuViewModel(IMenuServices menuServices, IEventAggregator eventAggregator)
        {
            _menuServices    = menuServices;
            _eventAggregator = eventAggregator;

            SaveCommand   = new DelegateCommand(() => _eventAggregator.GetEvent <SaveEvent>().Publish());
            SaveAsCommand = new DelegateCommand(SaveAsCommandHandler);
            LoadCommand   = new DelegateCommand(LoadCommandHandler);

            MenuItem item = (MenuItem)Application.Current.Resources["ProfileFileMenuItem"];

            _menuServices.AddMenuItem(item);
        }
Esempio n. 24
0
 public SistemaAppServices(
     IUsuariosRepositoryCQRS usuariosCQRS,
     IMontagemDeMenusServices montagemMenusServices,
     IDadosIniciaisServices dadosIniciaisServices,
     IMenuServices menuServices,
     INivelDeAcessoServices nivelDeAcessoServices,
     ISistemaCQRS sistemaCQRS,
     IJuridicoCQRS juridicoCQRS,
     IPessoasRepository pessoasCQRS,
     ISistemaUnitOfWork uow)
     : base(uow, sistemaCQRS)
 {
     this.nivelDeAcessoServices  = nivelDeAcessoServices;
     this.juridicoCQRS           = juridicoCQRS;
     this.pessoasCQRS            = pessoasCQRS;
     this.usuariosRepositoryCQRS = usuariosCQRS;
     this.montagemMenusServices  = montagemMenusServices;
     this.dadosIniciaisServices  = dadosIniciaisServices;
     this.menuServices           = menuServices;
 }
 public RoleController(IRoleServices roleServices, IMenuServices menuServices, IMapper mapper)
 {
     _roleServices = roleServices;
     _menuServices = menuServices;
     _mapper       = mapper;
 }
Esempio n. 26
0
 public DanhMucController(IMenuServices services)
 {
     this._services = services;
 }
Esempio n. 27
0
 /// <inheritdoc />
 public PageController(IHandlerResponse responseHandler, ITokenBusiness tokenBusiness, IMenuServices menuServices) : base(responseHandler, tokenBusiness)
 {
     _menuServices = menuServices;
 }
Esempio n. 28
0
 public MenuController(IMenuServices menuServices, IMenuFunctionServices menuFunctionServices)
 {
     _menuServices         = menuServices;
     _menuFunctionServices = menuFunctionServices;
 }
Esempio n. 29
0
 public MenusController(IMenuServices menuServices)
 {
     _menuServices = menuServices;
 }
Esempio n. 30
0
 public MenuController(IMenuServices menuServices)
 {
     _menuServices = menuServices;
 }
Esempio n. 31
0
 public MenuBarController(IMenuServices service)
 {
     _service = service;
 }
Esempio n. 32
0
 public MenusComponent(IMenuServices menuServices)
 {
     _menuServices = menuServices;
 }
Esempio n. 33
0
 public HomeController(IMenuServices menuServices)
 {
     _menuServices = menuServices;
 }