C# 클래스 withSIX.Play.Applications.Services.SelfUpdater

상속: ISelfUpdater, IEnableLogging, IApplicationService
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 프로퍼티들

프로퍼티 타입 설명
PlayExecutable string

공개 메소드들

메소드 설명
ApplyInstallIfRequired ( IAbsoluteFilePath exePath ) : bool
CheckForUpdate ( ) : System.Threading.Tasks.Task
ExistsAndIsValid ( IAbsoluteFilePath exePath ) : bool
GetLocalVersion ( ) : System.Version
IsInstalled ( ) : bool
IsLegacyInstalled ( ) : bool
IsLocalUpdate ( string exePath ) : bool
PerformSelfUpdate ( string action = SelfUpdaterCommands.UpdateCommand ) : bool
ProgramApplyUpdateIfExists ( IAbsoluteFilePath exePath ) : Task
SelfUpdater ( Func enableBeta, IEventAggregator eventBus, IProcessManager processManager, IFileDownloader downloader, IMediator mediator, ExportFactory webClientFactory, IRestarter restarter ) : System
UninstallSingleExe ( ) : bool

비공개 메소드들

메소드 설명
Apply ( IAbsoluteFilePath exePath = null ) : bool
ApplyMSI ( ) : bool
ApplySingleExeMode ( IAbsoluteFilePath exePath ) : bool
ApplyUpdateIfExists ( IAbsoluteFilePath exePath ) : Task
CheckForUpdateInternal ( ) : Task
Cleanup ( ) : void
CleanupDest ( ) : void
CleanupInfo ( ) : void
CleanupLegacyRegistry ( ) : void
CreateShortcut ( IAbsoluteDirectoryPath destinationPath, IAbsoluteFilePath installExe ) : void
DeleteApplicationShortcuts ( ) : void
DownloadAndProcessVersion ( IWebClient checkForUpdateClient, Uri uri ) : Task
DownloadUpdate ( VersionCheckCompleteEventArgs a ) : System.Threading.Tasks.Task
GetAppLocalVersion ( IAbsoluteFilePath exePath ) : System.Version
GetApplyMsiParameters ( ) : string
GetLocalPath ( ) : string
GetLocalProduct ( ) : string
GetLocalRegVersion ( ) : System.Version
GetUninstallParameters ( ) : string
GetVersionCheckUri ( bool beta = false ) : Uri
InstallToProgramFiles ( IAbsoluteFilePath exeFile ) : bool
OnComplete ( string newVersion, string newProductCode, string hash, bool isNew, bool isSameProductCode ) : VersionCheckCompleteEventArgs
PublishDomainEvent ( IAsyncNotification evt ) : void
PublishDomainEvent ( INotification evt ) : void
RegisterLocalAppKeys ( IAbsoluteFilePath exePath ) : void
TryCheckForUpdate ( ) : System.Threading.Tasks.Task
TryCheckForUpdate ( IWebClient checkForUpdateClient, Uri uri ) : Task
TryDownloadUpdate ( VersionCheckCompleteEventArgs a, string filePath ) : System.Threading.Tasks.Task
TryGetVersionFromFile ( IAbsoluteFilePath exePath ) : System.Version
TryParseVersion ( string version ) : System.Version
TryParseVersionInfo ( ) : VersionCheckCompleteEventArgs
TryRunUpdater ( IAbsoluteFilePath executable ) : bool
TryUninstallLegacyMSI ( string parameters ) : bool
UninstallLegacyMSI ( ) : bool
VersionCheckerComplete ( VersionCheckCompleteEventArgs args ) : System.Threading.Tasks.Task

메소드 상세

ApplyInstallIfRequired() 공개 메소드

public ApplyInstallIfRequired ( IAbsoluteFilePath exePath ) : bool
exePath IAbsoluteFilePath
리턴 bool

CheckForUpdate() 공개 메소드

public CheckForUpdate ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ExistsAndIsValid() 공개 메소드

public ExistsAndIsValid ( IAbsoluteFilePath exePath ) : bool
exePath IAbsoluteFilePath
리턴 bool

GetLocalVersion() 공개 메소드

public GetLocalVersion ( ) : System.Version
리턴 System.Version

IsInstalled() 공개 메소드

public IsInstalled ( ) : bool
리턴 bool

IsLegacyInstalled() 공개 메소드

public IsLegacyInstalled ( ) : bool
리턴 bool

IsLocalUpdate() 공개 메소드

public IsLocalUpdate ( string exePath ) : bool
exePath string
리턴 bool

PerformSelfUpdate() 공개 메소드

public PerformSelfUpdate ( string action = SelfUpdaterCommands.UpdateCommand ) : bool
action string
리턴 bool

ProgramApplyUpdateIfExists() 공개 메소드

public ProgramApplyUpdateIfExists ( IAbsoluteFilePath exePath ) : Task
exePath IAbsoluteFilePath
리턴 Task

SelfUpdater() 공개 메소드

public SelfUpdater ( Func enableBeta, IEventAggregator eventBus, IProcessManager processManager, IFileDownloader downloader, IMediator mediator, ExportFactory webClientFactory, IRestarter restarter ) : System
enableBeta Func
eventBus IEventAggregator
processManager IProcessManager
downloader IFileDownloader
mediator IMediator
webClientFactory ExportFactory
restarter IRestarter
리턴 System

UninstallSingleExe() 공개 메소드

public UninstallSingleExe ( ) : bool
리턴 bool

프로퍼티 상세

PlayExecutable 공개적으로 정적으로 프로퍼티

public static string PlayExecutable
리턴 string