Class ZstandardLoadOptions

Class ZstandardLoadOptions

Namespace: Aspose.Zip.Zstandard
Assembly: Aspose.Zip.dll (25.1.0)

Opsi dengan mana Aspose.Zip.Zstandard.ZstandardArchive dimuat dari file terkompresi. Berisi peristiwa yang diangkat saat ekstraksi.

public class ZstandardLoadOptions

Pewarisan

objectZstandardLoadOptions

Anggota yang diwarisi

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Konstruktor

ZstandardLoadOptions()

public ZstandardLoadOptions()

ExtractionProgressed

Mengambil atau menetapkan delegasi yang dipanggil ketika beberapa byte telah diekstraksi.

public event EventHandler<progresseventargs> ExtractionProgressed

Jenis Peristiwa

EventHandler<ProgressEventArgs&gt;

Contoh

ZstandardArchive archive = new ZstandardArchive("archive.zst", 
new ZStandardLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / length); } })

Keterangan

Pengirim peristiwa adalah instance Aspose.Zip.Zstandard.ZstandardArchive yang ekstraksinya sedang berlangsung.

 Indonesia