Class CacheRefresherNotificationFactory
A ICacheRefresherNotificationFactory that uses ActivatorUtilities to create the CacheRefresherNotification instances
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public sealed class CacheRefresherNotificationFactory : ICacheRefresherNotificationFactoryConstructors
View SourceCacheRefresherNotificationFactory(IServiceProvider)
Declaration
public CacheRefresherNotificationFactory(IServiceProvider serviceProvider)Parameters
| Type | Name | Description | 
|---|---|---|
| IServiceProvider | serviceProvider | 
Methods
View SourceCreate<TNotification>(Object, MessageType)
Create a CacheRefresherNotification using ActivatorUtilities
Declaration
public TNotification Create<TNotification>(object msgObject, MessageType type)
    where TNotification : CacheRefresherNotificationParameters
| Type | Name | Description | 
|---|---|---|
| System.Object | msgObject | |
| MessageType | type | 
Returns
| Type | Description | 
|---|---|
| TNotification | 
Type Parameters
| Name | Description | 
|---|---|
| TNotification | The CacheRefresherNotification to create |