public AdvancedSettingsPartHandler(IRepository <AdvancedSettingsPartRecord> repository, IAdvancedSettingsService settingService)
        {
            _settingService = settingService;

            Filters.Add(StorageFilter.For(repository));
            OnRemoved <AdvancedSettingsPart>((context, part) => EvictCache(part));
            OnPublished <AdvancedSettingsPart>((context, part) => EvictCache(part));
            OnUnpublished <AdvancedSettingsPart>((context, part) => EvictCache(part));
        }
예제 #2
0
 public BankTransferPosProvider(IWorkContextAccessor workContextAccessor,
                                IAdvancedSettingsService advancedSettingsService,
                                IShapeFactory shapeFactory,
                                IContentManager contentManager) : base(workContextAccessor)
 {
     _advancedSettings = advancedSettingsService;
     _shapeFactory     = shapeFactory;
     _contentManager   = contentManager;
 }
예제 #3
0
 public ThemeSkinsService(
     IVirtualPathProvider virtualPathProvider,
     ISiteThemeService siteThemeService,
     IAdvancedSettingsService advancedSettingsService,
     IResourceManager resourceManager,
     IWorkContextAccessor workContextAccessor)
 {
     _virtualPathProvider     = virtualPathProvider;
     _siteThemeService        = siteThemeService;
     _advancedSettingsService = advancedSettingsService;
     _resourceManager         = resourceManager;
     _workContextAccessor     = workContextAccessor;
 }