internal void OnAddCompleted() { EventHandler <AddProgressEventArgs> ap = AddProgress; if (ap != null) { var e = AddProgressEventArgs.Completed(ArchiveNameForEvent); ap(this, e); } }
private void OnAddCompleted() { if (AddProgress != null) { lock (LOCK) { var e = AddProgressEventArgs.Completed(ArchiveNameForEvent); AddProgress(this, e); } } }