Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICanBeDirty

    Defines an entity that tracks property changes and can be dirty.

    Namespace: Umbraco.Cms.Core.Models.Entities
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ICanBeDirty

    Methods

    View Source

    DisableChangeTracking()

    Disables change tracking.

    Declaration
    void DisableChangeTracking()
    View Source

    EnableChangeTracking()

    Enables change tracking.

    Declaration
    void EnableChangeTracking()
    View Source

    GetDirtyProperties()

    Gets properties that are dirty.

    Declaration
    IEnumerable<string> GetDirtyProperties()
    Returns
    Type Description
    IEnumerable<System.String>
    View Source

    IsDirty()

    Determines whether the current entity is dirty.

    Declaration
    bool IsDirty()
    Returns
    Type Description
    System.Boolean
    View Source

    IsPropertyDirty(String)

    Determines whether a specific property is dirty.

    Declaration
    bool IsPropertyDirty(string propName)
    Parameters
    Type Name Description
    System.String propName
    Returns
    Type Description
    System.Boolean
    View Source

    ResetDirtyProperties()

    Resets dirty properties.

    Declaration
    void ResetDirtyProperties()

    Events

    View Source

    PropertyChanged

    Declaration
    event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • DisableChangeTracking()
      • EnableChangeTracking()
      • GetDirtyProperties()
      • IsDirty()
      • IsPropertyDirty(String)
      • ResetDirtyProperties()
    • Events
      • PropertyChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX