C# 클래스 _3PA.MainFeatures.UpdateHandler

Handles the update of this software
파일 보기 프로젝트 열기: jcaillon/3P

공개 메소드들

메소드 설명
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