private void OnProgress(ResourceExtractorProgressEventArgs args) { Progress?.Invoke(this, args); }
public static string GetMessage(ResourceExtractorProgressEventArgs args) { return(String.Format("Extracting entry \"{0}\" from archive\"{1}\" to \"{2}\"... {5:0.0}% completed ({3} of {4} entries" + "extracted, {5} of {6} bytes transferred).", args.CurrentEntryFileName, args.ArchiveName, args.ExtractLocation, args.Progress, args.EntriesExtracted, args.EntriesTotal, args.BytesTransferred, args.BytesTotal)); }