C# Class SunSync.SyncProgressPage

Interaction logic for SyncProgressPage.xaml
Inheritance: System.Windows.Controls.Page
Afficher le fichier Open project: qiniu/QSunSync Class Usage Examples

Méthodes publiques

Méthode Description
LocalHashDB ( ) : SQLiteConnection
SyncLogDB ( ) : SQLiteConnection
SyncProgressPage ( MainWindow mainWindow ) : System
isOverwritten ( string localFile ) : bool

Private Methods

Méthode Description
HaltActionButton_EventHandler ( object sender, RoutedEventArgs e ) : void
LoadSyncSetting ( SyncSetting syncSetting ) : void
ManualFinishButton_EventHandler ( object sender, RoutedEventArgs e ) : void
SyncProgressPageLoaded_EventHandler ( object sender, RoutedEventArgs e ) : void
addFileExistsLog ( string log ) : void
addFileNotOverwriteLog ( string log ) : void
addFileOverwriteLog ( string log ) : void
addFileSkippedLog ( string log ) : void
addFileUploadErrorLog ( string log ) : void
addFileUploadSuccessLog ( string log ) : void
checkCancelSignal ( ) : bool
closeLogWriters ( ) : void
createDirCache ( string localSyncDir ) : void
createOptionalDB ( ) : void
dropcacheFilePath ( ) : void
initRunJob ( ) : bool
processUpload ( string cacheFilePath ) : void
resetSyncStatus ( ) : void
runSyncJob ( object resumeObject ) : void
shouldSkipByPrefix ( string shortFileName, string skippedPrefixes ) : bool
shouldSkipBySuffix ( string shortFileName, string skippedSuffixes ) : bool
updateSingleFileProgress ( int taskId, string fileFullPath, string fileKey, long fileLength, double percent ) : void
updateTotalUploadProgress ( ) : void
updateUploadLog ( string log ) : void
uploadFiles ( List filesToUpload ) : void

Method Details

LocalHashDB() public méthode

public LocalHashDB ( ) : SQLiteConnection
Résultat System.Data.SQLite.SQLiteConnection

SyncLogDB() public méthode

public SyncLogDB ( ) : SQLiteConnection
Résultat System.Data.SQLite.SQLiteConnection

SyncProgressPage() public méthode

public SyncProgressPage ( MainWindow mainWindow ) : System
mainWindow MainWindow
Résultat System

isOverwritten() public méthode

public isOverwritten ( string localFile ) : bool
localFile string
Résultat bool