Class ZstandardLoadOptions

Class ZstandardLoadOptions

Название пространства: Aspose.Zip.Zstandard Ассоциация: Aspose.Zip.dll (25.5.0)

Опции, с которыми Aspose.Zip.zstandard. ZstandarArchive загружается из компрессированного файла.

public class ZstandardLoadOptions

Inheritance

object ZstandardLoadOptions

Наследованные члены

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

Constructors

ZstandardLoadOptions()

public ZstandardLoadOptions()

ExtractionProgressed

Получается или устанавливается делегат, обращённый, когда некоторые байты были извлечены.

public event EventHandler<progresseventargs> ExtractionProgressed

Тип событий

EventHandler • < ProgressEventArgs >

Examples

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

Remarks

Посылатель событий — это инстанция Aspose.Zip.Zstandard.ZstandardArchive, в которой прогрессируется экстракция.

 Русский