콘텐츠로 이동

PermissionDefinition

이 콘텐츠는 아직 번역되지 않았습니다.

Namespace NetWiv · Assembly NetWiv.Core

public sealed record 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);
public IReadOnlyList<string> Allow { get; init; }
public IReadOnlyList<string> Deny { get; init; }
public string Identifier { get; init; }
public IReadOnlyList<JsonElement> ScopeAllow { get; init; }
public IReadOnlyList<JsonElement> ScopeDeny { get; init; }
public static bool operator ==(PermissionDefinition left, PermissionDefinition right);
public static bool operator !=(PermissionDefinition left, PermissionDefinition right);