Changeset 184


Ignore:
Timestamp:
3/10/2008 8:49:54 AM (7 years ago)
Author:
lowjoel
Message:

Removed the Executor.GetIterator? function since it's rather... weird.

Location:
branches/eraser6/Manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Manager/DirectExecutor.cs

    r180 r184  
    8989        } 
    9090 
    91         public override Dictionary<uint, Task>.Enumerator GetIterator() 
    92         { 
    93             return tasks.GetEnumerator(); 
    94         } 
    95  
    9691        /// <summary> 
    9792        /// The thread entry point for this object. This object operates on a queue 
     
    124119                    try 
    125120                    { 
    126                         if (target is Task.FreeSpace) 
    127                             EraseFreeSpace(task, (Task.FreeSpace)target); 
     121                        if (target is Task.UnusedSpace) 
     122                            EraseUnusedSpace(task, (Task.UnusedSpace)target); 
    128123                        else if (target is Task.FilesystemObject) 
    129124                            EraseFilesystemObject(task, (Task.FilesystemObject)target); 
     
    147142 
    148143        /// <summary> 
    149         /// Executes a free space erase. 
    150         /// </summary> 
    151         /// <param name="target">The target of the free space erase.</param> 
    152         private void EraseFreeSpace(Task task, Task.FreeSpace target) 
    153         { 
    154             throw new NotImplementedException("Free space erasures are not "+ 
     144        /// Executes a unused space erase. 
     145        /// </summary> 
     146        /// <param name="target">The target of the unused space erase.</param> 
     147        private void EraseUnusedSpace(Task task, Task.UnusedSpace target) 
     148        { 
     149            throw new NotImplementedException("Unused space erasures are not "+ 
    155150                "currently implemented"); 
    156151        } 
  • branches/eraser6/Manager/Executor.cs

    r180 r184  
    3434 
    3535        /// <summary> 
    36         /// Retrieves an enumerator to the list of tasks. 
    37         /// </summary> 
    38         /// <returns>An enumerator to the list of tasks</returns> 
    39         public abstract Dictionary<uint, Task>.Enumerator GetIterator(); 
    40  
    41         /// <summary> 
    4236        /// The number of times file names are renamed to erase the file name from 
    4337        /// the MFT. 
Note: See TracChangeset for help on using the changeset viewer.