Class XarLoadOptions
Class XarLoadOptions
Pôvodný názov: Aspose.Zip.Xar Zhromaždenie: Aspose.Zip.dll (25.5.0)
Možnosti, s ktorými je archív naložený z komprimovaného súboru.
public class XarLoadOptions
Inheritance
Z dedičných členov
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
Získať alebo nastaviť delegát pozvaný, keď niektoré bajty boli vytiahnuté.
public EventHandler<progresseventargs> EntryExtractionProgressed { get; set; }
Hodnota nehnuteľnosti
EventHandler < ProgressEventArgs >
Examples
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
Remarks
Odosielateľ udalostí je príklad Aspose.Zip.Xar.XarFileEntry, ktorého extrakcia je pokročilá.