C# Class Candy.Updater.CandyUpdater

アプリケーションを更新する処理を提供します。
Afficher le fichier Open project: Wabyon/Candy Class Usage Examples

Méthodes publiques

Méthode Description
CandyUpdater ( UpdateArgs args ) : System

CandyUpdater クラスの新しいインスタンスを初期化します。

UpdateApplicationAsync ( IProgress progress = null ) : System.Threading.Tasks.Task

進捗を報告しながら、アプリケーションを更新します。

Méthodes protégées

Méthode Description
DownloadPackageAsync ( string zipUrl, string downloadPath ) : System.Threading.Tasks.Task
GetLatestSummaryAsync ( ) : Task
UpdateFilesAsync ( FileInfo packageFile, string targetDirectoryPath ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
DeleteFile ( string path ) : void
RemoveFilesAsync ( IEnumerable removeFiles, string applicationDirectory ) : System.Threading.Tasks.Task
UpdateFilesAsync ( ZipArchive archive, string targetDirectoryPath ) : System.Threading.Tasks.Task
WaitAsync ( ) : System.Threading.Tasks.Task
WaitProcessExitAsync ( string processName ) : System.Threading.Tasks.Task

Method Details

CandyUpdater() public méthode

CandyUpdater クラスの新しいインスタンスを初期化します。
public CandyUpdater ( UpdateArgs args ) : System
args UpdateArgs
Résultat System

DownloadPackageAsync() protected méthode

protected DownloadPackageAsync ( string zipUrl, string downloadPath ) : System.Threading.Tasks.Task
zipUrl string
downloadPath string
Résultat System.Threading.Tasks.Task

GetLatestSummaryAsync() protected méthode

protected GetLatestSummaryAsync ( ) : Task
Résultat Task

UpdateApplicationAsync() public méthode

進捗を報告しながら、アプリケーションを更新します。
public UpdateApplicationAsync ( IProgress progress = null ) : System.Threading.Tasks.Task
progress IProgress
Résultat System.Threading.Tasks.Task

UpdateFilesAsync() protected méthode

protected UpdateFilesAsync ( FileInfo packageFile, string targetDirectoryPath ) : System.Threading.Tasks.Task
packageFile System.IO.FileInfo
targetDirectoryPath string
Résultat System.Threading.Tasks.Task