View Source
Class UmbracoIdentityRole
Inheritance
System.Object
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
Declaration
protected BeingDirty BeingDirty { get; }
Property Value
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()
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
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()
Declaration
public void ResetDirtyProperties()
View Source
ResetDirtyProperties(Boolean)
Declaration
public void ResetDirtyProperties(bool rememberDirty)
Parameters
Type |
Name |
Description |
System.Boolean |
rememberDirty |
A value indicating whether to remember dirty properties.
|
View Source
ResetWereDirtyProperties()
Resets properties that were dirty.
Declaration
public void ResetWereDirtyProperties()
View Source
WasDirty()
Determines whether the current entity is dirty.
Declaration
Returns
Type |
Description |
System.Boolean |
|
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 |
|
Events
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|