Class CacheRefresherNotificationFactory
A ICache
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class CacheRefresherNotificationFactory : ICacheRefresherNotificationFactory
Constructors
View SourceCacheRefresherNotificationFactory(IServiceProvider)
Declaration
public CacheRefresherNotificationFactory(IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IService |
serviceProvider |
Methods
View SourceCreate<TNotification>(Object, MessageType)
Create a Cache
Declaration
public TNotification Create<TNotification>(object msgObject, MessageType type)
where TNotification : CacheRefresherNotification
Parameters
| Type | Name | Description |
|---|---|---|
| System. |
msgObject | |
| Message |
type |
Returns
| Type | Description |
|---|---|
| TNotification |
Type Parameters
| Name | Description |
|---|---|
| TNotification | The Cache |