Ignore:
Timestamp:
3/13/2012 4:44:12 AM (2 years ago)
Author:
lowjoel
Message:

Instead of pushing events to the client, we will update our Progress object and the client should pull progress updates instead. This prepares the code to be used by the remote executor (for service execution).

In the interim, there is no progress feedback for all erasures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/pluginsRewrite/Eraser.DefaultPlugins/ErasureTargets/SecureMoveErasureTarget.cs

    r2463 r2468  
    236236 
    237237                //Update progress. 
    238                 OnProgressChanged(this, new ProgressChangedEventArgs(folderDeleteProgress, 
    239                     new TaskProgressChangedEventArgs(subDirectory.FullName, 1, 1))); 
     238                /*OnProgressChanged(this, new ProgressChangedEventArgs(folderDeleteProgress, 
     239                    new TaskProgressChangedEventArgs(subDirectory.FullName, 1, 1)));*/ 
    240240 
    241241                //Get the directory which we copied to and copy the file times to the 
     
    342342            progress.Completed = TotalBytesTransferred; 
    343343            progress.Total = TotalFileSize; 
    344             OnProgressChanged(this, new ProgressChangedEventArgs(Progress, 
    345                 new TaskProgressChangedEventArgs(file.FullName, 1, 1))); 
     344            /*OnProgressChanged(this, new ProgressChangedEventArgs(Progress, 
     345                new TaskProgressChangedEventArgs(file.FullName, 1, 1)));*/ 
    346346 
    347347            if (Task.Canceled) 
Note: See TracChangeset for help on using the changeset viewer.