C# Класс Microsoft.HockeyApp.UpdateManager

Provides automatic update functionality with HockeyApp
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CheckForUpdates Task
CheckForUpdates void
CheckWithUpdateFrequency bool
DoUpdate void
NavigateToUpdatePage void
RunUpdateCheck void
RunUpdateCheckAsync System.Threading.Tasks.Task
StartUi void
UpdateManager Microsoft.HockeyApp.Gui
UpdateManager Microsoft.HockeyApp.Model
UpdateVersionIfAvailable System.Threading.Tasks.Task
UpdateVersionIfAvailable void

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

Метод Описание
CheckForUpdatesAsync ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task
RunUpdateCheck ( UpdateCheckSettings settings = null ) : void

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)

Защищенные методы

Метод Описание
ShowUpdateNotification ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
ShowVersionPopup ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void

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

Метод Описание
CheckForUpdates ( ) : Task
CheckForUpdates ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : void
CheckWithUpdateFrequency ( UpdateCheckFrequency frequency ) : bool
DoUpdate ( IAppVersion availableUpdate ) : void
NavigateToUpdatePage ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
RunUpdateCheck ( string identifier, UpdateCheckSettings settings = null ) : void
RunUpdateCheckAsync ( UpdateCheckSettings settings = null ) : System.Threading.Tasks.Task

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)

StartUi ( IAppVersion newVersion ) : void
UpdateManager ( ) : Microsoft.HockeyApp.Gui
UpdateManager ( ) : Microsoft.HockeyApp.Model
UpdateVersionIfAvailable ( UpdateCheckSettings updateCheckSettings ) : System.Threading.Tasks.Task
UpdateVersionIfAvailable ( UpdateCheckSettings updateCheckSettings ) : void

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

CheckForUpdatesAsync() публичный Метод

public CheckForUpdatesAsync ( bool autoShowUi, Func shutdownActions = null, Action updateAvailableAction = null ) : Task
autoShowUi bool
shutdownActions Func
updateAvailableAction Action
Результат Task

RunUpdateCheck() публичный Метод

Check for an update on the server HockecCient needs to be configured before calling this method (normally done by configuring a crahshandler in the App() constructor)
public RunUpdateCheck ( UpdateCheckSettings settings = null ) : void
settings UpdateCheckSettings [optional] custom settings
Результат void

ShowUpdateNotification() защищенный Метод

protected ShowUpdateNotification ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
currentVersion System.Version
appVersions IEnumerable
updateCheckSettings UpdateCheckSettings
Результат void

ShowVersionPopup() защищенный Метод

protected ShowVersionPopup ( System.Version currentVersion, IEnumerable appVersions, UpdateCheckSettings updateCheckSettings ) : void
currentVersion System.Version
appVersions IEnumerable
updateCheckSettings UpdateCheckSettings
Результат void