private void OnReadCompleted()
        {
            EventHandler <ReadProgressEventArgs> rp = ReadProgress;

            if (rp != null)
            {
                var e = ReadProgressEventArgs.Completed(ArchiveNameForEvent);
                rp(this, e);
            }
        }
예제 #2
0
 private void OnReadCompleted()
 {
     if (ReadProgress != null)
     {
         lock (LOCK)
         {
             var e = ReadProgressEventArgs.Completed(ArchiveNameForEvent);
             ReadProgress(this, e);
         }
     }
 }