Class XarLoadOptions

Class XarLoadOptions

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

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

public class XarLoadOptions

Inheritance

object XarLoadOptions

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

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

Constructors

XarLoadOptions()

public XarLoadOptions()

Properties

EntryExtractionProgressed

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

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

Стоимость недвижимости

EventHandler • < ProgressEventArgs >

Examples

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

Remarks

Посылатель событий — это пример Aspose.Zip.Xar.XarFileEntry, из которого прогрессируется экстракция.

 Русский