C# Class SoundBoard.AutoUpdate.UpdateManager

Inheritance: IDisposable
ファイルを表示 Open project: jormenjanssen/Soundboard Class Usage Examples

Public Methods

Method Description
ApplyUpdateIfAvailable ( bool showUpdateUserinterface = true, int maximumSearchTimeout = 5 ) : void
ApplyUpdateIfAvailableAsync ( UpdateManager updateManager ) : Task
CheckForUpdatesAsync ( ) : Task

Check for product updates async (Task based).

Dispose ( ) : void
UpdateManager ( int maximumTimeout ) : System
UpdateProduct ( IProductUpdate productUpdate ) : Task

Private Methods

Method Description
CheckForProductUpdate ( Uri updateSource, int timeout ) : IProductUpdate
DownloadProductUpdateFile ( IProductUpdate productUpdate ) : IProductUpdate

Method Details

ApplyUpdateIfAvailable() public static method

public static ApplyUpdateIfAvailable ( bool showUpdateUserinterface = true, int maximumSearchTimeout = 5 ) : void
showUpdateUserinterface bool
maximumSearchTimeout int
return void

ApplyUpdateIfAvailableAsync() public static method

public static ApplyUpdateIfAvailableAsync ( UpdateManager updateManager ) : Task
updateManager UpdateManager
return Task

CheckForUpdatesAsync() public method

Check for product updates async (Task based).
public CheckForUpdatesAsync ( ) : Task
return Task

Dispose() public method

public Dispose ( ) : void
return void

UpdateManager() public method

public UpdateManager ( int maximumTimeout ) : System
maximumTimeout int
return System

UpdateProduct() public method

public UpdateProduct ( IProductUpdate productUpdate ) : Task
productUpdate IProductUpdate
return Task