Changeset 2792


Ignore:
Timestamp:
8/1/2012 6:31:57 AM (2 years ago)
Author:
lowjoel
Message:

Allow users to not have the directory specified be deleted, as discussed in http://eraser.heidi.ie/forum/viewtopic.php?f=2&t=8881

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser/Program.cs

    r2719 r2792  
    968968                    //Create the base target 
    969969                    FolderTarget target = new FolderTarget(); 
     970 
     971                    //The target defaults to deleting the folder if the folder is empty. 
     972                    //Since we only provide an interface for the user to delete the folder, 
     973                    //we need to default to not deleting the folder. 
     974                    target.DeleteIfEmpty = false; 
    970975 
    971976                    //Parse the subparameters. 
Note: See TracChangeset for help on using the changeset viewer.