Class ZstandardLoadOptions
Class ZstandardLoadOptions
Namespace: Aspose.Zip.Zstandard
Assembly: Aspose.Zip.dll (25.1.0)
ตัวเลือกที่ใช้ในการโหลด Aspose.Zip.Zstandard.ZstandardArchive จากไฟล์ที่ถูกบีบอัด มีการสร้างเหตุการณ์เมื่อมีการแยกข้อมูลออกมา
public class ZstandardLoadOptions
การสืบทอด
สมาชิกที่สืบทอด
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
ตัวสร้าง
ZstandardLoadOptions()
public ZstandardLoadOptions()
ExtractionProgressed
รับหรือกำหนดตัวแทนที่ถูกเรียกเมื่อมีการแยกข้อมูลบางส่วนออกมา
public event EventHandler<progresseventargs> ExtractionProgressed
ประเภทเหตุการณ์
EventHandler<ProgressEventArgs>
ตัวอย่าง
ZstandardArchive archive = new ZstandardArchive("archive.zst",
new ZStandardLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / length); } })
หมายเหตุ
ผู้ส่งเหตุการณ์คืออินสแตนซ์ของ Aspose.Zip.Zstandard.ZstandardArchive ที่มีการแยกข้อมูลเกิดขึ้น