Search Results for

    Show / Hide Table of Contents
    View Source

    Class OutOfDateModelsStatus

    Used to track if ModelsBuilder models are out of date/stale

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

    Constructors

    View Source

    OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment)

    Initializes a new instance of the OutOfDateModelsStatus class.

    Declaration
    public OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings> config, IHostingEnvironment hostingEnvironment)
    Parameters
    Type Name Description
    IOptionsMonitor<ModelsBuilderSettings> config
    IHostingEnvironment hostingEnvironment

    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
    public void Clear()
    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
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • OutOfDateModelsStatus(IOptionsMonitor<ModelsBuilderSettings>, IHostingEnvironment)
    • Properties
      • IsEnabled
      • IsOutOfDate
    • Methods
      • Clear()
      • Handle(ContentTypeCacheRefresherNotification)
      • Handle(DataTypeCacheRefresherNotification)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX