Class AutoModelsNotificationHandler
Notification handlers used by
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.ModelsBuilder
Assembly: cs.temp.dll.dll
Syntax
public sealed class AutoModelsNotificationHandler : INotificationHandler<UmbracoApplicationStartingNotification>
Remarks
supports
Constructors
AutoModelsNotificationHandler(ILogger<AutoModelsNotificationHandler>, IOptions<ModelsBuilderSettings>, ModelsGenerator, ModelsGenerationError, IMainDom)
Initializes a new instance of the AutoModelsNotificationHandler class.
Declaration
public AutoModelsNotificationHandler(ILogger<AutoModelsNotificationHandler> logger, IOptions<ModelsBuilderSettings> config, ModelsGenerator modelGenerator, ModelsGenerationError mbErrors, IMainDom mainDom)
Parameters
Type | Name | Description |
---|---|---|
ILogger<AutoModelsNotificationHandler> | logger | |
IOptions<ModelsBuilderSettings> | config | |
ModelsGenerator | modelGenerator | |
ModelsGenerationError | mbErrors | |
IMainDom | mainDom |
Methods
Handle(ContentTypeCacheRefresherNotification)
Declaration
public void Handle(ContentTypeCacheRefresherNotification notification)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeCacheRefresherNotification | notification |
Handle(DataTypeCacheRefresherNotification)
Declaration
public void Handle(DataTypeCacheRefresherNotification notification)
Parameters
Type | Name | Description |
---|---|---|
DataTypeCacheRefresherNotification | notification |
Handle(UmbracoApplicationStartingNotification)
Handles the
Declaration
public void Handle(UmbracoApplicationStartingNotification notification)
Parameters
Type | Name | Description |
---|---|---|
UmbracoApplicationStartingNotification | notification |
Handle(UmbracoRequestEndNotification)
Declaration
public void Handle(UmbracoRequestEndNotification notification)
Parameters
Type | Name | Description |
---|---|---|
UmbracoRequestEndNotification | notification |