public WebHelper( IHttpContextAccessor httpContextAccessor, IAgsFileProvider fileProvider) { this._httpContextAccessor = httpContextAccessor; this._fileProvider = fileProvider; }
public RoxyFilemanController(IHostingEnvironment hostingEnvironment, IAgsFileProvider fileProvider ) { this._hostingEnvironment = hostingEnvironment; this._fileProvider = fileProvider; }
/// <summary> /// Ctor /// </summary> /// <param name="userAgentStringsPath">User agent file path</param> /// <param name="crawlerOnlyUserAgentStringsPath">User agent with crawlers only file path</param> /// <param name="fileProvider">File provider</param> public BrowscapXmlHelper(string userAgentStringsPath, string crawlerOnlyUserAgentStringsPath, IAgsFileProvider fileProvider) { this._crawlerUserAgentsRegexp = new List <string>(); this._fileProvider = fileProvider; Initialize(userAgentStringsPath, crawlerOnlyUserAgentStringsPath); }
public PictureController(IDownloadService downloadService, IAgsFileProvider fileProvider, IPictureService pictureService) { this._downloadService = downloadService; this._fileProvider = fileProvider; this._pictureService = pictureService; }
public CommonController(ICommonModelFactory commonModelFactory, IAgsFileProvider fileProvider, IStaticCacheManager cacheManager, IUrlRecordService urlRecordService, IWebHelper webHelper) { this._commonModelFactory = commonModelFactory; this._fileProvider = fileProvider; this._cacheManager = cacheManager; this._urlRecordService = urlRecordService; this._webHelper = webHelper; }
public PictureService( IDbContext dbContext, IAgsFileProvider fileProvider, IRepository <Picture> pictureRepository, IRepository <PictureBinary> pictureBinaryRepository, ISettingService settingService, IUrlRecordService urlRecordService, IWebHelper webHelper, IEventPublisher eventPublisher, MediaSettings mediaSettings, IRepository <NewsPictureMapping> newsPictRepository, IRepository <PhotoGalleryMapping> photoGalleryRepository, IRepository <SliderPictureMapping> sliderPictuRepository) { _dbContext = dbContext; this._fileProvider = fileProvider; this._pictureRepository = pictureRepository; this._pictureBinaryRepository = pictureBinaryRepository; this._settingService = settingService; this._urlRecordService = urlRecordService; this._webHelper = webHelper; this._eventPublisher = eventPublisher; this._mediaSettings = mediaSettings; this._newsPictRepository = newsPictRepository; this._photoGalleryRepository = photoGalleryRepository; this._sliderPictuRepository = sliderPictuRepository; }
/// <summary> /// Ctor /// </summary> /// <param name="seoSettings">SEO settings</param> /// <param name="hostingEnvironment">Hosting environment</param> /// <param name="cacheManager">Cache manager</param> /// <param name="fileProvider">File provider</param> /// <param name="urlRecordService">Url record service</param> public PageHeadBuilder(SeoSettings seoSettings, IHostingEnvironment hostingEnvironment, IStaticCacheManager cacheManager, IAgsFileProvider fileProvider, IUrlRecordService urlRecordService) { this._seoSettings = seoSettings; this._hostingEnvironment = hostingEnvironment; this._cacheManager = cacheManager; this._fileProvider = fileProvider; this._urlRecordService = urlRecordService; this._processor = new BundleFileProcessor(); this._titleParts = new List <string>(); this._metaDescriptionParts = new List <string>(); this._metaKeywordParts = new List <string>(); this._scriptParts = new Dictionary <ResourceLocation, List <ScriptReferenceMeta> >(); this._inlineScriptParts = new Dictionary <ResourceLocation, List <string> >(); this._cssParts = new Dictionary <ResourceLocation, List <CssReferenceMeta> >(); this._canonicalUrlParts = new List <string>(); this._headCustomParts = new List <string>(); this._pageCssClassParts = new List <string>(); }
public JbimagesController(IAgsFileProvider fileProvider) { this._fileProvider = fileProvider; }
public AuthMessageSender(IAgsFileProvider fileProvider) { _fileProvider = fileProvider; }