View Source
Class DocumentGranularPermission
Assembly: Umbraco.Core.dll
Syntax
public class DocumentGranularPermission : INodeGranularPermission, IGranularPermission
Fields
View Source
ContextType
Declaration
public const string ContextType = "Document"
Field Value
Properties
View Source
Context
Declaration
public string Context { get; }
Property Value
View Source
Key
Declaration
public required Guid Key { get; set; }
Property Value
View Source
Permission
Declaration
public required string Permission { get; set; }
Property Value
Methods
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
View Source
Equals(DocumentGranularPermission)
Declaration
protected bool Equals(DocumentGranularPermission other)
Parameters
Returns
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|