C# 클래스 SIL.FieldWorks.FDO.DomainServices.BackupRestore.ProjectBackupService

Service for performing a backup of current project
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
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, ZipFile zFile, IEnumerable files ) : bool
AllFilesInADirectory ( string dirContainingFilesToZip ) : IEnumerable

This returns the paths for all the files located in a Directory.

BackupProjectWithFullPaths ( IProgress progressDlg, IEnumerable filesToZip ) : string
BackupTask ( IProgress progressDlg, object parameters ) : object
CopyAllFilesToFolder ( IEnumerable fileList, string restoreDirectory ) : void
CreateListOfFilesToZip ( ) : IEnumerable

GetAudioVisualAndPicturesAndOtherFiles ( ) : IEnumerable
GetCmFilePathsInCmFolder ( ICmFolder cmfolder, HashSet filePathsInCmFiles ) : void
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

메소드 상세

BackupProject() 공개 메소드

Perform a backup of the current project, using specified settings.
public BackupProject ( IThreadedProgress progressDlg, string &backupFile ) : bool
progressDlg IThreadedProgress
backupFile string
리턴 bool

GenerateFileListFolderAndSubfolders() 공개 정적인 메소드

This returns all the files in a directory Dir and in the subdirectories.
public static GenerateFileListFolderAndSubfolders ( string dir ) : HashSet
dir string
리턴 HashSet

ProjectBackupService() 공개 메소드

Constructor
public ProjectBackupService ( FdoCache cache, SIL.FieldWorks.FDO.DomainServices.BackupRestore.BackupProjectSettings settings ) : System
cache FdoCache
settings SIL.FieldWorks.FDO.DomainServices.BackupRestore.BackupProjectSettings
리턴 System