Class ZstandardLoadOptions
Class ZstandardLoadOptions
Namespace: Aspose.Zip.Zstandard
Assembly: Aspose.Zip.dll (25.1.0)
Tùy chọn mà Aspose.Zip.Zstandard.ZstandardArchive được tải từ tệp nén. Chứa sự kiện được kích hoạt khi giải nén.
public class ZstandardLoadOptions
Kế thừa
Các thành viên kế thừa
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Các hàm khởi tạo
ZstandardLoadOptions()
public ZstandardLoadOptions()
ExtractionProgressed
Lấy hoặc đặt delegate được gọi khi một số byte đã được giải nén.
public event EventHandler<progresseventargs> ExtractionProgressed
Loại sự kiện
EventHandler<ProgressEventArgs>
Ví dụ
ZstandardArchive archive = new ZstandardArchive("archive.zst",
new ZStandardLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / length); } })
Nhận xét
Người gửi sự kiện là thể hiện của Aspose.Zip.Zstandard.ZstandardArchive mà việc giải nén đang tiến hành.