Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoIdentityRole

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoIdentityRole : IdentityRole, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    UmbracoIdentityRole()

    Declaration
    public UmbracoIdentityRole()
    View Source

    UmbracoIdentityRole(String)

    Declaration
    public UmbracoIdentityRole(string roleName)
    Parameters
    Type Name Description
    System.String roleName

    Properties

    View Source

    BeingDirty

    Gets the BeingDirty for change tracking

    Declaration
    protected BeingDirty BeingDirty { get; }
    Property Value
    Type Description
    BeingDirty
    View Source

    ConcurrencyStamp

    Declaration
    public override string ConcurrencyStamp { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    HasIdentity

    Gets or sets a value indicating whether returns an Id has been set on this object this will be false if the object is new and not persisted to the database

    Declaration
    public bool HasIdentity { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    Id

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Name

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    NormalizedName

    Declaration
    public override string NormalizedName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    DisableChangeTracking()

    Disables change tracking.

    Declaration
    public void DisableChangeTracking()
    View Source

    EnableChangeTracking()

    Enables change tracking.

    Declaration
    public void EnableChangeTracking()
    View Source

    GetDirtyProperties()

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

    GetWereDirtyProperties()

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

    IsDirty()

    Determines whether the current entity is dirty.

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

    IsPropertyDirty(String)

    Determines whether a specific property is dirty.

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

    ResetDirtyProperties()

    Resets dirty properties.

    Declaration
    public void ResetDirtyProperties()
    View Source

    ResetDirtyProperties(Boolean)

    Resets dirty properties.

    Declaration
    public void ResetDirtyProperties(bool rememberDirty)
    Parameters
    Type Name Description
    System.Boolean rememberDirty

    A value indicating whether to remember dirty properties.

    Remarks

    When rememberDirty is true, dirty properties are saved so they can be checked with WasDirty.

    View Source

    ResetWereDirtyProperties()

    Resets properties that were dirty.

    Declaration
    public void ResetWereDirtyProperties()
    View Source

    WasDirty()

    Determines whether the current entity is dirty.

    Declaration
    public bool WasDirty()
    Returns
    Type Description
    System.Boolean
    Remarks

    A property was dirty if it had been changed and the changes were committed.

    View Source

    WasPropertyDirty(String)

    Determines whether a specific property was dirty.

    Declaration
    public bool WasPropertyDirty(string propertyName)
    Parameters
    Type Name Description
    System.String propertyName
    Returns
    Type Description
    System.Boolean
    Remarks

    A property was dirty if it had been changed and the changes were committed.

    Events

    View Source

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoIdentityRole()
      • UmbracoIdentityRole(String)
    • Properties
      • BeingDirty
      • ConcurrencyStamp
      • HasIdentity
      • Id
      • Name
      • NormalizedName
    • Methods
      • DisableChangeTracking()
      • EnableChangeTracking()
      • GetDirtyProperties()
      • GetWereDirtyProperties()
      • IsDirty()
      • IsPropertyDirty(String)
      • ResetDirtyProperties()
      • ResetDirtyProperties(Boolean)
      • ResetWereDirtyProperties()
      • WasDirty()
      • WasPropertyDirty(String)
    • Events
      • PropertyChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX