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)); }
public BankTransferPosProvider(IWorkContextAccessor workContextAccessor, IAdvancedSettingsService advancedSettingsService, IShapeFactory shapeFactory, IContentManager contentManager) : base(workContextAccessor) { _advancedSettings = advancedSettingsService; _shapeFactory = shapeFactory; _contentManager = contentManager; }
public ThemeSkinsService( IVirtualPathProvider virtualPathProvider, ISiteThemeService siteThemeService, IAdvancedSettingsService advancedSettingsService, IResourceManager resourceManager, IWorkContextAccessor workContextAccessor) { _virtualPathProvider = virtualPathProvider; _siteThemeService = siteThemeService; _advancedSettingsService = advancedSettingsService; _resourceManager = resourceManager; _workContextAccessor = workContextAccessor; }