PermissionDefinition
Namespace NetWiv · Assembly NetWiv.Core
public sealed record PermissionDefinitionConstructors
Section titled “Constructors”PermissionDefinition
Section titled “PermissionDefinition”public PermissionDefinition(string identifier, params string[] allow);public PermissionDefinition(string Identifier, IReadOnlyList<string> Allow, IReadOnlyList<string> Deny, IReadOnlyList<JsonElement> ScopeAllow = null, IReadOnlyList<JsonElement> ScopeDeny = null);Properties
Section titled “Properties”public IReadOnlyList<string> Allow { get; init; }public IReadOnlyList<string> Deny { get; init; }Identifier
Section titled “Identifier”public string Identifier { get; init; }ScopeAllow
Section titled “ScopeAllow”public IReadOnlyList<JsonElement> ScopeAllow { get; init; }ScopeDeny
Section titled “ScopeDeny”public IReadOnlyList<JsonElement> ScopeDeny { get; init; }Methods
Section titled “Methods”operator ==
Section titled “operator ==”public static bool operator ==(PermissionDefinition left, PermissionDefinition right);operator !=
Section titled “operator !=”public static bool operator !=(PermissionDefinition left, PermissionDefinition right);