C# Класс JarrettVance.ChapterTools.Updater

Показать файл Открыть проект

Открытые методы

Метод Описание
CheckForUpdate ( Action showUpdateDialog ) : UpdateStatus

Checks for an update and shows the update dialog if there is an update available.

LaunchUpdater ( System.Xml.Linq.XDocument manifest ) : void

Saves the manifest locally and launches the updater app

UpdateUpdater ( ) : void

Removes old updater and renames new updater after a small delay, call upon startup

Приватные методы

Метод Описание
GetUpdaterPath ( ) : string

Описание методов

CheckForUpdate() публичный статический Метод

Checks for an update and shows the update dialog if there is an update available.
public static CheckForUpdate ( Action showUpdateDialog ) : UpdateStatus
showUpdateDialog Action
Результат UpdateStatus

LaunchUpdater() публичный статический Метод

Saves the manifest locally and launches the updater app
public static LaunchUpdater ( System.Xml.Linq.XDocument manifest ) : void
manifest System.Xml.Linq.XDocument
Результат void

UpdateUpdater() публичный статический Метод

Removes old updater and renames new updater after a small delay, call upon startup
public static UpdateUpdater ( ) : void
Результат void