private void OnProgressChanged(object sender, PackageProgressEventArgs e) { if (this.Progress != null) { this.Progress(sender, e); } }
private void OnProgressUpdate(object sender, PackageProgressEventArgs e) { this.CurrentProgress = e.CurrentValue; this.MaxProgress = e.MaxValue; this.ProgressStatus = e.ProgressStage.GetDescription(); }
private void OnPackageCreatorTasksProgress(object sender, PackageProgressEventArgs e) { const string ProgressMessageFormat = "Package creation progress: {0} {1}/{2}"; this.Log.LogMessage( MessageImportance.Normal, ProgressMessageFormat, e.ProgressStage.GetDescription(), e.CurrentValue, e.MaxValue); }