public ScreenHub(IHttpContextAccessor httpContextAccessor, IAmendmentService amendmentService, IMapper mapper , IReadOnlyDataService <Language> languageService, ISystemSettingService systemSettingService) : base(systemSettingService) { _httpContextAccessor = httpContextAccessor; _amendmentService = amendmentService; _mapper = mapper; _languageService = languageService; }
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; }
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>(); }
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; }
public ContactController(IContactInfoService contactInfoService, IMenuLinkService menuLinkService , IMailSettingService mailSettingService , ISystemSettingService systemSettingService , ISendMailService sendMailService) { _contactInfoService = contactInfoService; _systemSettingService = systemSettingService; _sendMailService = sendMailService; }
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; }
public GolfController(ApplicationDbContext context, ISystemSettingService systemServices, IEmailSender emailService, IBraintreePaymentService paymentService, ILogger <GolfController> logger) { _systemServices = systemServices; _emailService = emailService; _context = context; _paymentService = paymentService; _logger = logger; }
public SystemSettingController( ISystemSettingService systemSettingService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService ) { this._systemSettingService = systemSettingService; this._languageService = languageService; this._localizedPropertyService = localizedPropertyService; }
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; }
/// <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>(); } }
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; }
/// <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; }
/// <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; }
public SystemSettingController( ISystemSettingService systemSettingService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService , ICacheManager cacheManager ) { _systemSettingService = systemSettingService; _languageService = languageService; _localizedPropertyService = localizedPropertyService; //Clear cache cacheManager.RemoveByPattern(CacheSystemsettingKey); }
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; }
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); }
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; }
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; }
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; }
/// <summary> /// 系统设置 /// </summary> /// <param name="userInfoService"></param> /// <param name="systemSettingService"></param> public SystemController(IUserInfoService userInfoService, ISystemSettingService systemSettingService) { UserInfoService = userInfoService; SystemSettingService = systemSettingService; }
protected BaseHub(ISystemSettingService systemSettingService) { _systemSettingService = systemSettingService; }
/// <summary> /// 系统设置 /// </summary> /// <param name="sysSettingService"></param> public SystemSettingController(ISystemSettingService sysSettingService) { this.SysSettingService = sysSettingService; }
public SystemSettingController() { _systemSettingervice = StructureMap.ObjectFactory.GetInstance <ISystemSettingService>(); }
public HomeController(IRoomService roomService, ISystemSettingService settingService) { this._roomService = roomService; this._settingService = settingService; }
public HomeController(ISystemSettingService systemServices, IEmailSender emailService) { _systemServices = systemServices; _emailService = emailService; }
public HomeController(ISystemSettingService systemSettingService) { _systemSettingService = systemSettingService; }
public BaseController() { this.systemSettingService = FalconEngine.Resolve <ISystemSettingService>(); this._workContext = FalconEngine.Resolve <IWorkContext>(); }