Class XarLoadOptions
Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)
Možnosti, se kterými je archiv načten z komprimovaného souboru.
public class XarLoadOptions
Dědičnost
Děděné členy
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktor
XarLoadOptions()
public XarLoadOptions()
Vlastnosti
EntryExtractionProgressed
Získá nebo nastaví delegáta, který je vyvolán, když byly extrahovány některé bajty.
public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }
Hodnota vlastnosti
EventHandler<ProgressEventArgs>
Příklady
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
Poznámky
Odesílatelem události je instance Aspose.Zip.Xar.XarFileEntry, jejíž extrakce probíhá.