Search Results for

    Show / Hide Table of Contents
    View Source

    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 : ICacheRefresherNotificationFactory

    Constructors

    View Source

    CacheRefresherNotificationFactory(IServiceProvider)

    Declaration
    public CacheRefresherNotificationFactory(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    Methods

    View Source

    Create<TNotification>(Object, MessageType)

    Create a CacheRefresherNotification using ActivatorUtilities

    Declaration
    public TNotification Create<TNotification>(object msgObject, MessageType type)
        where TNotification : CacheRefresherNotification
    Parameters
    Type Name Description
    System.Object msgObject
    MessageType type
    Returns
    Type Description
    TNotification
    Type Parameters
    Name Description
    TNotification

    The CacheRefresherNotification to create

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CacheRefresherNotificationFactory(IServiceProvider)
    • Methods
      • Create<TNotification>(Object, MessageType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX