/// <summary> /// Initializes a new instance of the <see cref="DisplayTemplateClient" /> class. /// </summary> /// <param name="service">The service.</param> /// <param name="customerSession">The customer session.</param> /// <param name="cacheRepository">The cache repository.</param> public DisplayTemplateClient(IDisplayTemplatesService service, ICustomerSessionService customerSession, ICacheRepository cacheRepository) { _cacheRepository = cacheRepository; _customerSession = customerSession; _service = service; _isEnabled = AppConfigConfiguration.Instance.Cache.IsEnabled; }