Ejemplo n.º 1
0
 public ScreenHub(IHttpContextAccessor httpContextAccessor, IAmendmentService amendmentService, IMapper mapper
                  , IReadOnlyDataService <Language> languageService, ISystemSettingService systemSettingService) : base(systemSettingService)
 {
     _httpContextAccessor = httpContextAccessor;
     _amendmentService    = amendmentService;
     _mapper          = mapper;
     _languageService = languageService;
 }
Ejemplo n.º 2
0
 public RescueGroupsService(ISystemSettingService systemServices, ILogger <RescueGroupsService> logger,
                            IMapper <string> rescueAnimalMapper, IRescueGroupApiRepository rescueGroupApiRepository)
 {
     _systemServices               = systemServices;
     _logger                       = logger;
     _rescueAnimalMapper           = rescueAnimalMapper;
     this.rescueGroupApiRepository = rescueGroupApiRepository;
 }
 public AdoptController(ApplicationDbContext context, ISystemSettingService systemServices, IFormSerivce formService, ILogger <AdoptController> logger, IStorageService storageService)
 {
     _systemServices = systemServices;
     _context        = context;
     _formService    = formService;
     _logger         = logger;
     _storageService = storageService;
 }
Ejemplo n.º 4
0
 public AccountController()
 {
     _userService           = StructureMap.ObjectFactory.GetInstance <IUserService>();
     _roleService           = StructureMap.ObjectFactory.GetInstance <IRoleService>();
     _rolePermissionService = StructureMap.ObjectFactory.GetInstance <IRolePermissionService>();
     _userLoginService      = StructureMap.ObjectFactory.GetInstance <IUserLoginService>();
     _systemSettingervice   = StructureMap.ObjectFactory.GetInstance <ISystemSettingService>();
     _companyService        = StructureMap.ObjectFactory.GetInstance <ICompanyService>();
 }
Ejemplo n.º 5
0
 public FormService(ISystemSettingService systemServices, ApplicationDbContext context, ILogger <FormService> logger, IHostingEnvironment hostingEnvironment, IStorageService storageService, IConfiguration configuration)
 {
     _systemServices     = systemServices;
     _context            = context;
     _logger             = logger;
     _hostingEnvironment = hostingEnvironment;
     _storageService     = storageService;
     _configuration      = configuration;
 }
Ejemplo n.º 6
0
 public ContactController(IContactInfoService contactInfoService, IMenuLinkService menuLinkService
                          , IMailSettingService mailSettingService
                          , ISystemSettingService systemSettingService
                          , ISendMailService sendMailService)
 {
     _contactInfoService   = contactInfoService;
     _systemSettingService = systemSettingService;
     _sendMailService      = sendMailService;
 }
Ejemplo n.º 7
0
 public HomeController(ISystemSettingService systemSettingService, IProvinceService province, IMailSettingService mailSettingService, IBrandService brandService, IImagePlugin imagePlugin, IOrderService orderService)
 {
     this._systemSettingService = systemSettingService;
     this._province             = province;
     this._mailSettingService   = mailSettingService;
     this._brandService         = brandService;
     this._imagePlugin          = imagePlugin;
     this._orderService         = orderService;
 }
Ejemplo n.º 8
0
 public GolfController(ApplicationDbContext context,
                       ISystemSettingService systemServices, IEmailSender emailService, IBraintreePaymentService paymentService, ILogger <GolfController> logger)
 {
     _systemServices = systemServices;
     _emailService   = emailService;
     _context        = context;
     _paymentService = paymentService;
     _logger         = logger;
 }
Ejemplo n.º 9
0
 public SystemSettingController(
     ISystemSettingService systemSettingService
     , ILanguageService languageService
     , ILocalizedPropertyService localizedPropertyService
     )
 {
     this._systemSettingService     = systemSettingService;
     this._languageService          = languageService;
     this._localizedPropertyService = localizedPropertyService;
 }
Ejemplo n.º 10
0
        public override void InitHelpers()
        {
            base.InitHelpers();
            //_localizationService = EngineContext.Current.Resolve<ILocalizationService>();
            _workContext          = EngineContext.Current.Resolve <IWorkContext>();
            _systemSettingService = EngineContext.Current.Resolve <ISystemSettingService>();

            _themeContext       = EngineContext.Current.Resolve <IThemeContext>();
            _themeConfiguration = _themeContext.CurrentThemeConfiguration;
        }
Ejemplo n.º 11
0
 /// <summary>
 /// 静态构造方法。
 /// </summary>
 static HtmlHelperExtensions()
 {
     using (var container = AutofacConfig.Container.BeginLifetimeScope())
     {
         _fileStorageService = container.Resolve<IFileService>();
         _permissionService = container.Resolve<IPermissionService>();
         _systemSettingService = container.Resolve<ISystemSettingService>();
         _globalizationService = container.Resolve<IGlobalizationService>();
     }
 }
Ejemplo n.º 12
0
 public DetailViewModel(IWallpaperService wallpaperService, IBingoWallpaperSettings settings, ISystemSettingService systemSettingService, IBingoFileService bingoFileService, IImageLoader imageLoader, IAppToastService appToastService, IBingoShareService bingoShareService)
 {
     _wallpaperService     = wallpaperService;
     _settings             = settings;
     _systemSettingService = systemSettingService;
     _bingoFileService     = bingoFileService;
     _imageLoader          = imageLoader;
     _appToastService      = appToastService;
     _bingoShareService    = bingoShareService;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// hangfire后台任务
 /// </summary>
 /// <param name="userInfoService"></param>
 /// <param name="postService"></param>
 /// <param name="settingService"></param>
 /// <param name="searchDetailsService"></param>
 /// <param name="linksService"></param>
 /// <param name="httpClientFactory"></param>
 /// <param name="hostingEnvironment"></param>
 /// <param name="searchEngine"></param>
 public HangfireBackJob(IUserInfoService userInfoService, IPostService postService, ISystemSettingService settingService, ISearchDetailsService searchDetailsService, ILinksService linksService, IHttpClientFactory httpClientFactory, IHostingEnvironment hostingEnvironment, ISearchEngine <DataContext> searchEngine)
 {
     _userInfoService      = userInfoService;
     _postService          = postService;
     _settingService       = settingService;
     _searchDetailsService = searchDetailsService;
     _linksService         = linksService;
     _httpClientFactory    = httpClientFactory;
     _hostingEnvironment   = hostingEnvironment;
     _searchEngine         = searchEngine;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// hangfire后台任务
 /// </summary>
 /// <param name="userInfoService"></param>
 /// <param name="postService"></param>
 /// <param name="settingService"></param>
 /// <param name="searchDetailsService"></param>
 /// <param name="linksService"></param>
 /// <param name="httpClientFactory"></param>
 /// <param name="HostEnvironment"></param>
 /// <param name="searchEngine"></param>
 public HangfireBackJob(IUserInfoService userInfoService, IPostService postService, ISystemSettingService settingService, ISearchDetailsService searchDetailsService, ILinksService linksService, IHttpClientFactory httpClientFactory, IWebHostEnvironment HostEnvironment, ISearchEngine <DataContext> searchEngine, IAdvertisementService advertisementService, INoticeService noticeService)
 {
     _userInfoService      = userInfoService;
     _postService          = postService;
     _settingService       = settingService;
     _searchDetailsService = searchDetailsService;
     _linksService         = linksService;
     _httpClientFactory    = httpClientFactory;
     _hostEnvironment      = HostEnvironment;
     _searchEngine         = searchEngine;
     _advertisementService = advertisementService;
     _noticeService        = noticeService;
 }
 public AdoptController(ApplicationDbContext context,
                        ISystemSettingService systemServices, IEmailSender emailService, IRescueGroupsService rescuegroupService, IBraintreePaymentService paymentService,
                        IFormSerivce formService, ILogger <AdoptController> logger, IStorageService storageService)//, IContentfulClient contentfulClient)
 {
     _systemServices     = systemServices;
     _emailService       = emailService;
     _context            = context;
     _rescuegroupService = rescuegroupService;
     _paymentService     = paymentService;
     _formService        = formService;
     _logger             = logger;
     _storageService     = storageService;
     //_contentfulClient = contentfulClient;
 }
Ejemplo n.º 16
0
        public SystemSettingController(
            ISystemSettingService systemSettingService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager
            )
        {
            _systemSettingService     = systemSettingService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;

            //Clear cache
            cacheManager.RemoveByPattern(CacheSystemsettingKey);
        }
Ejemplo n.º 17
0
 public SummaryController(IMenuLinkService menuLinkService
                          , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService
                          , IContactInfoService contactInfoService
                          , ISettingSeoGlobalService settingSeoGlobal
                          , IWorkContext workContext)
 {
     this._menuLinkService      = menuLinkService;
     this._provinceService      = provinceService;
     this._districtService      = districtService;
     this._systemSettingService = systemSettingService;
     this._contactInfoService   = contactInfoService;
     this._settingSeoGlobal     = settingSeoGlobal;
     this._workContext          = workContext;
 }
Ejemplo n.º 18
0
        public SystemSettingController(
            ISystemSettingService systemSettingService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager
            )
        {
            this._systemSettingService     = systemSettingService;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CACHE_SYSTEMSETTING_KEY);
        }
Ejemplo n.º 19
0
 public UserController(
     IUserService UserService,
     ILevel1Service Level1Service,
     ILevel2Service Level2Service,
     ILevel3Service Level3Service,
     ILevel4Service Level4Service,
     ISystemSettingService systemSettingService)
 {
     _UserService          = UserService;
     _Level2Service        = Level2Service;
     _Level1Service        = Level1Service;
     _Level3Service        = Level3Service;
     _Level4Service        = Level4Service;
     _systemSettingService = systemSettingService;
 }
Ejemplo n.º 20
0
 public SummaryController(IMenuLinkService menuLinkService
                          , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService
                          , IContactInfoService contactInfoService
                          , ISettingSeoGlobalService settingSeoGlobal
                          , IWorkContext workContext
                          , ICacheManager cacheManager, IPostService postService, IStaticContentService staticContentService)
 {
     _menuLinkService      = menuLinkService;
     _provinceService      = provinceService;
     _districtService      = districtService;
     _systemSettingService = systemSettingService;
     _contactInfoService   = contactInfoService;
     _settingSeoGlobal     = settingSeoGlobal;
     _postService          = postService;
     _staticContentService = staticContentService;
 }
Ejemplo n.º 21
0
        public UpdateTileTask()
        {
            var unityContainer = new UnityContainer();

            unityContainer.RegisterType <IWallpaperService, BingWallpaperService>();
            unityContainer.RegisterType <IBingWallpaperService, BingWallpaperService>();
            unityContainer.RegisterType <IScreenService, ScreenService>();
            unityContainer.RegisterType <IBingoWallpaperSettings, BingoWallpaperSettings>();
            unityContainer.RegisterType <ITileService, TileService>();
            unityContainer.RegisterType <ISystemSettingService, SystemSettingService>();

            _bingWallpaperService   = unityContainer.Resolve <IBingWallpaperService>();
            _bingoWallpaperSettings = unityContainer.Resolve <IBingoWallpaperSettings>();
            _tileService            = unityContainer.Resolve <ITileService>();
            _systemSettingService   = unityContainer.Resolve <ISystemSettingService>();
        }
 public AuthMessageSender(ISystemSettingService systemServices)
 {
     _systemServices = systemServices;
 }
 public BraintreePaymentService(ISystemSettingService systemServices, ILogger <BraintreePaymentService> logger)
 {
     _systemServices = systemServices;
     _logger         = logger;
 }
Ejemplo n.º 24
0
 /// <summary>
 /// 系统设置
 /// </summary>
 /// <param name="userInfoService"></param>
 /// <param name="systemSettingService"></param>
 public SystemController(IUserInfoService userInfoService, ISystemSettingService systemSettingService)
 {
     UserInfoService      = userInfoService;
     SystemSettingService = systemSettingService;
 }
Ejemplo n.º 25
0
 protected BaseHub(ISystemSettingService systemSettingService)
 {
     _systemSettingService = systemSettingService;
 }
Ejemplo n.º 26
0
 /// <summary>
 /// 系统设置
 /// </summary>
 /// <param name="sysSettingService"></param>
 public SystemSettingController(ISystemSettingService sysSettingService)
 {
     this.SysSettingService = sysSettingService;
 }
Ejemplo n.º 27
0
 public SystemSettingController()
 {
     _systemSettingervice = StructureMap.ObjectFactory.GetInstance <ISystemSettingService>();
 }
Ejemplo n.º 28
0
 public HomeController(IRoomService roomService, ISystemSettingService settingService)
 {
     this._roomService    = roomService;
     this._settingService = settingService;
 }
Ejemplo n.º 29
0
 public HomeController(ISystemSettingService systemServices, IEmailSender emailService)
 {
     _systemServices = systemServices;
     _emailService   = emailService;
 }
Ejemplo n.º 30
0
 public HomeController(ISystemSettingService systemSettingService)
 {
     _systemSettingService = systemSettingService;
 }
Ejemplo n.º 31
0
 public BaseController()
 {
     this.systemSettingService = FalconEngine.Resolve <ISystemSettingService>();
     this._workContext         = FalconEngine.Resolve <IWorkContext>();
 }