private void UpdateProgress(int progress) { _context.Post(_ => { Progress = progress; ExportProgressChanged?.Invoke(this, new ExportProgressEventArgs(progress)); }, null); }
/// <summary> /// Raise the ExportProgressChanged event. /// </summary> /// <param name="e">ExportProgressAsStringChangedArgs object.</param> protected virtual void OnExportProgressChanged(ExportProgressChangedArgs e) { ExportProgressChanged?.Invoke(this, e); }