C# Класс _3PA.MainFeatures.UpdateHandler

Handles the update of this software
Показать файл Открыть проект

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

Метод Описание
CheckForUpdate ( ) : void

To call when the user click on an update button

CheckForUpdate ( bool alwaysGetFeedBack ) : void

Gets an object with the latest release info

CheckForUpdateDone ( ) : void

Method to call when the user starts notepad++, check if an update has been done since the last time notepad was closed

StartCheckingForUpdate ( ) : void

ASYNC - Call this method to start checking for updates every 2 hours, also check once immediatly

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

Метод Описание
NotifyUpdateAvailable ( ) : void
OnDownloadFileCompleted ( object sender, AsyncCompletedEventArgs asyncCompletedEventArgs ) : void

Called when the latest release download is done

WbOnOnRequestEnded ( WebServiceJson webServiceJson, bool alwaysGetFeedBack ) : void

Called when the gitub api for releases responses

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

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

To call when the user click on an update button
public static CheckForUpdate ( ) : void
Результат void

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

Gets an object with the latest release info
public static CheckForUpdate ( bool alwaysGetFeedBack ) : void
alwaysGetFeedBack bool
Результат void

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

Method to call when the user starts notepad++, check if an update has been done since the last time notepad was closed
public static CheckForUpdateDone ( ) : void
Результат void

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

ASYNC - Call this method to start checking for updates every 2 hours, also check once immediatly
public static StartCheckingForUpdate ( ) : void
Результат void