Search Results for

    Show / Hide Table of Contents
    View Source

    Class AutoModelsNotificationHandler

    Notification handlers used by SourceCodeAuto.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.ModelsBuilder
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public sealed class AutoModelsNotificationHandler : INotificationHandler<UmbracoApplicationStartingNotification>, INotificationHandler<UmbracoRequestEndNotification>, INotificationHandler<ContentTypeCacheRefresherNotification>, INotificationHandler<DataTypeCacheRefresherNotification>, INotificationHandler
    Remarks

    supports SourceCodeAuto mode but not InMemoryAuto mode.

    Constructors

    View Source

    AutoModelsNotificationHandler(ILogger<AutoModelsNotificationHandler>, IOptionsMonitor<ModelsBuilderSettings>, IModelsGenerator, ModelsGenerationError, IMainDom)

    Initializes a new instance of the AutoModelsNotificationHandler class.

    Declaration
    public AutoModelsNotificationHandler(ILogger<AutoModelsNotificationHandler> logger, IOptionsMonitor<ModelsBuilderSettings> config, IModelsGenerator modelGenerator, ModelsGenerationError mbErrors, IMainDom mainDom)
    Parameters
    Type Name Description
    ILogger<AutoModelsNotificationHandler> logger
    IOptionsMonitor<ModelsBuilderSettings> config
    IModelsGenerator modelGenerator
    ModelsGenerationError mbErrors
    IMainDom mainDom

    Methods

    View Source

    Handle(ContentTypeCacheRefresherNotification)

    Declaration
    public void Handle(ContentTypeCacheRefresherNotification notification)
    Parameters
    Type Name Description
    ContentTypeCacheRefresherNotification notification
    View Source

    Handle(DataTypeCacheRefresherNotification)

    Declaration
    public void Handle(DataTypeCacheRefresherNotification notification)
    Parameters
    Type Name Description
    DataTypeCacheRefresherNotification notification
    View Source

    Handle(UmbracoApplicationStartingNotification)

    Handles the UmbracoApplicationStartingNotification notification

    Declaration
    public void Handle(UmbracoApplicationStartingNotification notification)
    Parameters
    Type Name Description
    UmbracoApplicationStartingNotification notification
    View Source

    Handle(UmbracoRequestEndNotification)

    Declaration
    public void Handle(UmbracoRequestEndNotification notification)
    Parameters
    Type Name Description
    UmbracoRequestEndNotification notification
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • AutoModelsNotificationHandler(ILogger<AutoModelsNotificationHandler>, IOptionsMonitor<ModelsBuilderSettings>, IModelsGenerator, ModelsGenerationError, IMainDom)
    • Methods
      • Handle(ContentTypeCacheRefresherNotification)
      • Handle(DataTypeCacheRefresherNotification)
      • Handle(UmbracoApplicationStartingNotification)
      • Handle(UmbracoRequestEndNotification)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX