콘텐츠로 이동

FileScope

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

Namespace NetWiv · Assembly NetWiv.Core

public sealed class FileScope
public FileScope(JsonElement scope, string appIdentifier);
public IReadOnlySet<string> AllowedPatterns { get; }
public IReadOnlySet<string> ForbiddenPatterns { get; }
public void AllowDirectory(string path, bool recursive);
public void AllowFile(string path);
public void ForbidDirectory(string path, bool recursive);
public void ForbidFile(string path);
public bool IsAllowed(string path);
public bool IsForbidden(string path);
public uint Listen(Action<FileScopeEvent> handler);
public uint Once(Action<FileScopeEvent> handler);
public void Unlisten(uint id);