View Source
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public sealed class MediaCacheRefresher : PayloadCacheRefresherBase<MediaCacheRefresherNotification, MediaCacheRefresher.JsonPayload>, IPayloadCacheRefresher<MediaCacheRefresher.JsonPayload>, IJsonCacheRefresher, ICacheRefresher, IDiscoverable
Constructors
View Source
Declaration
public MediaCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, IPublishedSnapshotService publishedSnapshotService, IIdKeyMap idKeyMap, IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory)
Parameters
Fields
View Source
Declaration
public static readonly Guid UniqueId
Field Value
Properties
View Source
Declaration
public override string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public override Guid RefresherUniqueId { get; }
Property Value
Methods
View Source
Declaration
public override void Refresh(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
View Source
Declaration
public override void Refresh(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
View Source
Declaration
public override void Refresh(MediaCacheRefresher.JsonPayload[] payloads)
Parameters
View Source
Declaration
public override void RefreshAll()
View Source
Declaration
public static void RefreshMediaTypes(AppCaches appCaches)
Parameters
View Source
Declaration
public override void Remove(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|