Daniel's XL Toolbox NG
|
Represents a collection of backups for a given file. More...
Public Member Functions | |
void | BuildList () |
bool | Create () |
void | Purge () |
Purges the backup files: Keeps all files of today, one for the last week, one for the month before last week, and one for all past years. More... | |
bool | DeleteAllBackups () |
Removes all backup files. More... | |
Backups (string filePath) | |
Creates a new BackupFiles object for a given file, using the backup directory from the UserSettings. More... | |
Backups (string filePath, string backupDir) | |
Creates a new BackupFiles object for a given file and a given backup directory. More... | |
Static Public Member Functions | |
static void | Enable () |
static void | Disable () |
Static Protected Member Functions | |
static void | Application_WorkbookBeforeSave (Microsoft.Office.Interop.Excel.Workbook Wb, bool SaveAsUI, ref bool Cancel) |
Properties | |
static bool | IsEnabled [get, set] |
string | FilePath [get] |
Gets the entire path to the file being backed up. More... | |
string | BackupDir [get, set] |
Gets or sets the relative directory where backups are stored. More... | |
string | BackupPath [get] |
Gets the full backup path for the file. More... | |
List< BackupFile > | Files [get] |
int | Count [get] |
Exception | Exception [get] |
Events | |
static EventHandler< Bovender.ExceptionHandler.ManageExceptionEventArgs > | BackupFailed |
Represents a collection of backups for a given file.
|
inline |
Creates a new BackupFiles object for a given file, using the backup directory from the UserSettings.
|
inline |
Creates a new BackupFiles object for a given file and a given backup directory.
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
Removes all backup files.
|
inlinestatic |
|
inlinestatic |
|
inline |
Purges the backup files: Keeps all files of today, one for the last week, one for the month before last week, and one for all past years.
|
getset |
Gets or sets the relative directory where backups are stored.
|
get |
Gets the full backup path for the file.
|
get |
|
get |
|
get |
Gets the entire path to the file being backed up.
|
get |
|
staticgetset |
|
static |