Class JsonCacheRefresherBase<TInstanceType>
A base class for "json" cache refreshers.
Namespace: Umbraco.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public abstract class JsonCacheRefresherBase<TInstanceType> : CacheRefresherBase<TInstanceType>, ICacheRefresher, IDiscoverable where TInstanceType : class, ICacheRefresher
Type Parameters
Name | Description |
---|---|
TInstanceType | The actual cache refresher type. |
Remarks
The actual cache refresher type is used for strongly typed events.
Constructors
View SourceJsonCacheRefresherBase(AppCaches)
Initializes a new instance of the JsonCacheRefresherBase<TInstanceType>.
Declaration
protected JsonCacheRefresherBase(AppCaches appCaches)
Parameters
Type | Name | Description |
---|---|---|
AppCaches | appCaches | A cache helper. |
Methods
View SourceRefresh(String)
Refreshes as specified by a json payload.
Declaration
public virtual void Refresh(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | The json payload. |