void ThrowIfInvalid() { if (!ArchiveFileInterface.Archive_IsValid(this)) { throw new InvalidOperationException("The archive has already been unmounted."); } }
public ArchiveFileInfo[] GetFileInfo() { ThrowIfInvalid(); return(ArchiveFileInterface.Archive_GetFileInfo(this)); }
public string GetMountPath() { ThrowIfInvalid(); return(ArchiveFileInterface.Archive_GetMountPath(this)); }
public JobHandle Unmount() { ThrowIfInvalid(); return(ArchiveFileInterface.Archive_UnmountAsync(this)); }