C# 클래스 JarrettVance.ChapterTools.Updater

파일 보기 프로젝트 열기: jarrettv/ChapterGrabber

공개 메소드들

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