Метод | Описание | |
---|---|---|
BackupProject ( IThreadedProgress progressDlg, string &backupFile ) : bool |
Perform a backup of the current project, using specified settings.
|
|
GenerateFileListFolderAndSubfolders ( string dir ) : HashSet |
This returns all the files in a directory Dir and in the subdirectories.
|
|
ProjectBackupService ( FdoCache cache, SIL.FieldWorks.FDO.DomainServices.BackupRestore.BackupProjectSettings settings ) : System |
Constructor
|
Метод | Описание | |
---|---|---|
AddAllFilesToZipFile ( IProgress progressDlg, |
||
AllFilesInADirectory ( string dirContainingFilesToZip ) : IEnumerable |
This returns the paths for all the files located in a Directory.
|
|
BackupProjectWithFullPaths ( IProgress progressDlg, IEnumerable |
||
BackupTask ( IProgress progressDlg, object parameters ) : object | ||
CopyAllFilesToFolder ( IEnumerable |
||
CreateListOfFilesToZip ( ) : IEnumerable |
|
|
GetAudioVisualAndPicturesAndOtherFiles ( ) : IEnumerable |
||
GetCmFilePathsInCmFolder ( ICmFolder cmfolder, HashSet |
||
GetCurrentProjectFonts ( ) : HashSet |
Collects font names used in the current project.
|
|
GetLinkedFilesForThisProject ( string linkedFilesPath, string projectPath ) : IEnumerable |
This returns all the files in the Linked Files folder which are associated with the project. If the LinkedFiles folder is located inside the project folder, return all the files under this folder. If the LinkedFiles folder is located in some other location, then only return the file paths for which there is a CmFile object in the database.
|
|
GetLinkedFilesFromCmFiles ( string linkedFilesPath ) : HashSet |
||
GetProjectFolderFilesToBackup ( ) : IEnumerable |
||
GetSpellingDictionaryFilesList ( ) : IEnumerable |
||
GetSupportingFilesFilesList ( ) : IEnumerable |
||
PersistBackupFileSettings ( ) : void |
Persists the dialog settings as an XML file.
|
|
RemoveAllFilesFromFolder ( string restoreDirectory ) : void |
public BackupProject ( IThreadedProgress progressDlg, string &backupFile ) : bool | ||
progressDlg | IThreadedProgress | |
backupFile | string | |
Результат | bool |
public static GenerateFileListFolderAndSubfolders ( string dir ) : HashSet |
||
dir | string | |
Результат | HashSet |
public ProjectBackupService ( FdoCache cache, SIL.FieldWorks.FDO.DomainServices.BackupRestore.BackupProjectSettings settings ) : System | ||
cache | FdoCache | |
settings | SIL.FieldWorks.FDO.DomainServices.BackupRestore.BackupProjectSettings | |
Результат | System |