View Source
Class OutOfDateModelsStatus
Used to track if ModelsBuilder models are out of date/stale
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public sealed class OutOfDateModelsStatus : INotificationHandler<ContentTypeCacheRefresherNotification>, INotificationHandler<DataTypeCacheRefresherNotification>, INotificationHandler
Constructors
View Source
OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings>, IHostEnvironment)
Declaration
public OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings> config, IHostEnvironment hostEnvironment)
Parameters
View Source
OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment)
Declaration
public OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings> config, IHostingEnvironment hostingEnvironment)
Parameters
View Source
OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment, IHostEnvironment)
Declaration
public OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings> config, IHostingEnvironment hostingEnvironment, IHostEnvironment hostEnvironment)
Parameters
Properties
View Source
IsEnabled
Gets a value indicating whether flagging out of date models is enabled
Declaration
public bool IsEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsOutOfDate
Gets a value indicating whether models are out of date
Declaration
public bool IsOutOfDate { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
View Source
Clear()
Declaration
View Source
Handle(ContentTypeCacheRefresherNotification)
Declaration
public void Handle(ContentTypeCacheRefresherNotification notification)
Parameters
View Source
Handle(DataTypeCacheRefresherNotification)
Declaration
public void Handle(DataTypeCacheRefresherNotification notification)
Parameters