Class XarLoadOptions
Class XarLoadOptions
Namespace: Aspose.Zip.Xar
Assembly: Aspose.Zip.dll (25.1.0)
گزینههایی که با آن آرشیو از فایل فشرده بارگذاری میشود.
public class XarLoadOptions
ارثبری
اعضای ارثبرده
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>
مثالها
XarArchive archive = new XarArchive("archive.xar",
new XarLoadOptions() { EntryExtractionProgressed = (s, e) => { int percent = (int)((100 * e.ProceededBytes) / ((XarFileEntry)s).Length); } })
توضیحات
فرستنده رویداد، نمونه Aspose.Zip.Xar.XarFileEntry است که استخراج آن پیشرفت کرده است.