Class XarLoadOptions

Class XarLoadOptions

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

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

public class XarLoadOptions

Наследование

objectXarLoadOptions

Унаследованные Члены

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

Конструкторы

XarLoadOptions()

public XarLoadOptions()

Свойства

EntryExtractionProgressed

Получает или задает делегат, вызываемый при извлечении некоторых байтов.

public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }

Значение Свойства

EventHandler<ProgressEventArgs&gt;

Примеры

XarArchive archive = new XarArchive("archive.xar", 
new XarLoadOptions() { EntryExtractionProgressed = (s, e) =&gt; { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })

Примечания

Отправитель события - это экземпляр Aspose.Zip.Xar.XarFileEntry, извлечение которого продолжается.

 Русский