Example #1
0
 public MediaCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, IPublishedSnapshotService publishedSnapshotService, IIdKeyMap idKeyMap, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
     : base(appCaches, serializer, eventAggregator, factory)
 {
     _publishedSnapshotService = publishedSnapshotService;
     _idKeyMap = idKeyMap;
 }
Example #2
0
 public static void RefreshMediaTypes(AppCaches appCaches)
 {
     appCaches.IsolatedCaches.ClearCache <IMedia>();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayloadCacheRefresherBase{TInstanceType, TPayload}"/>.
 /// </summary>
 /// <param name="appCaches">A cache helper.</param>
 /// <param name="serializer"></param>
 protected PayloadCacheRefresherBase(AppCaches appCaches, IJsonSerializer serializer, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
     : base(appCaches, serializer, eventAggregator, factory)
 {
 }
 public TemplateCacheRefresher(AppCaches appCaches, IIdKeyMap idKeyMap, IContentTypeCommonRepository contentTypeCommonRepository, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
     : base(appCaches, eventAggregator, factory)
 {
     _idKeyMap = idKeyMap;
     _contentTypeCommonRepository = contentTypeCommonRepository;
 }
Example #5
0
 public UserGroupCacheRefresher(AppCaches appCaches, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
     : base(appCaches, eventAggregator, factory)
 {
 }