Exemplo n.º 1
0
 public LocalizedEntityService(IStatikÖnbellekYönetici cacheManager,
                               IDepo <LocalizedProperty> localizedPropertyRepository,
                               LocalizationSettings localizationSettings)
 {
     this._cacheManager = cacheManager;
     this._localizedPropertyRepository = localizedPropertyRepository;
     this._localizationSettings        = localizationSettings;
 }
Exemplo n.º 2
0
 public WidgetModelFactory(IWidgetServisi widgetService,
                           ISiteContext storeContext,
                           ITemaContext themeContext,
                           IStatikÖnbellekYönetici cacheManager,
                           IWorkContext workContext)
 {
     this._widgetService = widgetService;
     this._storeContext  = storeContext;
     this._themeContext  = themeContext;
     this._cacheManager  = cacheManager;
     this._workContext   = workContext;
 }
Exemplo n.º 3
0
 public LanguageService(IStatikÖnbellekYönetici cacheManager,
                        IDepo <Dil> languageRepository,
                        ISiteMappingServisi siteMappingService,
                        IAyarlarServisi settingService,
                        LocalizationSettings localizationSettings,
                        IOlayYayınlayıcı eventPublisher)
 {
     this._cacheManager         = cacheManager;
     this._languageRepository   = languageRepository;
     this._siteMappingService   = siteMappingService;
     this._settingService       = settingService;
     this._localizationSettings = localizationSettings;
     this._eventPublisher       = eventPublisher;
 }
Exemplo n.º 4
0
        public GenelModelFactory(IKategoriServisi categoryService,
                                 ISayfalarServisi topicService,
                                 ILanguageService languageService,
                                 ILocalizationService localizationService,
                                 IWorkContext workContext,
                                 ISiteContext storeContext,
                                 ITemaContext themeContext,
                                 ITemaSağlayıcı themeProvider,
                                 IForumServisi forumservice,
                                 IGenelÖznitelikServisi genericAttributeService,
                                 IWebYardımcısı webHelper,
                                 IİzinServisi permissionService,
                                 IStatikÖnbellekYönetici cacheManager,
                                 ISayfaHeadOluşturucu pageHeadBuilder,
                                 IResimServisi pictureService,
                                 IHostingEnvironment hostingEnvironment,

                                 KatalogAyarları catalogSettings,
                                 SiteBilgiAyarları storeInformationSettings,
                                 GenelAyarlar commonSettings,
                                 BlogAyarları blogSettings,
                                 ForumAyarları forumSettings,
                                 LocalizationSettings localizationSettings)
        {
            this._categoryService         = categoryService;
            this._topicService            = topicService;
            this._languageService         = languageService;
            this._localizationService     = localizationService;
            this._workContext             = workContext;
            this._storeContext            = storeContext;
            this._themeContext            = themeContext;
            this._themeProvider           = themeProvider;
            this._genericAttributeService = genericAttributeService;
            this._webHelper                = webHelper;
            this._permissionService        = permissionService;
            this._cacheManager             = cacheManager;
            this._pageHeadBuilder          = pageHeadBuilder;
            this._pictureService           = pictureService;
            this._hostingEnvironment       = hostingEnvironment;
            this._catalogSettings          = catalogSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._commonSettings           = commonSettings;
            this._blogSettings             = blogSettings;
            this._forumSettings            = forumSettings;
            this._localizationSettings     = localizationSettings;
        }
Exemplo n.º 5
0
 public SayfaHeadOluşturucu(SeoAyarları seoAyarları,
                            IHostingEnvironment hostingEnvironment,
                            IStatikÖnbellekYönetici cacheManager)
 {
     this._seoAyarları              = seoAyarları;
     this._baslikParçaları          = new List <string>();
     this._metaDescriptionParçaları = new List <string>();
     this._metaKeywordParçaları     = new List <string>();
     this._scriptParçaları          = new Dictionary <KaynakKonumu, List <ScriptReferenceMeta> >();
     this._cssParçaları             = new Dictionary <KaynakKonumu, List <CssReferenceMeta> >();
     this._canonicalUrlParçaları    = new List <string>();
     this._özelHeadParçaları        = new List <string>();
     this._sayfaCssSınıfıParçaları  = new List <string>();
     this._hostingEnvironment       = hostingEnvironment;
     this._cacheManager             = cacheManager;
     this._processor = new BundleFileProcessor();
 }
Exemplo n.º 6
0
        public AzurePictureService(IDepo <Resim> resimDepo,
                                   IAyarlarServisi ayarlarServisi,
                                   IWebYardımcısı webYardımcısı,
                                   ILogger logger,
                                   IDbContext dbContext,
                                   IOlayYayınlayıcı olayYayınlayıcı,
                                   IStatikÖnbellekYönetici önbellekYönetici,
                                   MedyaAyarları medyaAyarları,
                                   Config config,
                                   IDataSağlayıcı dataSağlayıcı,
                                   IHostingEnvironment hostingEnvironment)
            : base(resimDepo,
                   ayarlarServisi,
                   webYardımcısı,
                   logger,
                   dbContext,
                   olayYayınlayıcı,
                   medyaAyarları,
                   dataSağlayıcı,
                   hostingEnvironment)
        {
            this._önbellekYönetici = önbellekYönetici;
            this._medyaAyarları    = medyaAyarları;
            this._config           = config;

            if (string.IsNullOrEmpty(_config.AzureBlobStorageConnectionString))
            {
                throw new Exception("Azure connection string for BLOB is not specified");
            }

            if (string.IsNullOrEmpty(_config.AzureBlobStorageContainerName))
            {
                throw new Exception("Azure container name for BLOB is not specified");
            }

            if (string.IsNullOrEmpty(_config.AzureBlobStorageEndPoint))
            {
                throw new Exception("Azure end point for BLOB is not specified");
            }

            CreateCloudBlobContainer();
        }
Exemplo n.º 7
0
 public LocalizationService(IStatikÖnbellekYönetici cacheManager,
                            ILogger logger,
                            IWorkContext workContext,
                            IDepo <LocaleStringResource> lsrRepository,
                            IDataSağlayıcı dataProvider,
                            IDbContext dbContext,
                            GenelAyarlar commonSettings,
                            LocalizationSettings localizationSettings,
                            IOlayYayınlayıcı eventPublisher)
 {
     this._cacheManager         = cacheManager;
     this._logger               = logger;
     this._workContext          = workContext;
     this._lsrRepository        = lsrRepository;
     this._dataProvider         = dataProvider;
     this._dbContext            = dbContext;
     this._commonSettings       = commonSettings;
     this._localizationSettings = localizationSettings;
     this._eventPublisher       = eventPublisher;
 }
 public ModelÖnbellekOlayTüketici(KatalogAyarları catalogSettings, IStatikÖnbellekYönetici cacheManager)
 {
     this._cacheManager    = cacheManager;
     this._catalogSettings = catalogSettings;
 }
Exemplo n.º 9
0
 public ModelÖnbellekOlayTüketici(IStatikÖnbellekYönetici cacheManager)
 {
     this._cacheManager = cacheManager;
 }
 public KullanıcıÖnbellekOlayTüketici(IStatikÖnbellekYönetici önbellekYönetici)
 {
     this._önbellekYönetici = önbellekYönetici;
 }