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, который извлекается.