C# Class SoundBoard.Updating.UpdateManager

Inheritance: IDisposable
Afficher le fichier Open project: jormenjanssen/Soundboard Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CheckForProductUpdate ( Uri updateSource, int timeout ) : IProductUpdate
DownloadProductUpdateFile ( IProductUpdate productUpdate ) : IProductUpdate

Method Details

ApplyUpdateIfAvailable() public static méthode

public static ApplyUpdateIfAvailable ( bool showUpdateUserinterface = true, int maximumSearchTimeout = 5 ) : void
showUpdateUserinterface bool
maximumSearchTimeout int
Résultat void

ApplyUpdateIfAvailableAsync() public static méthode

public static ApplyUpdateIfAvailableAsync ( UpdateManager updateManager ) : Task
updateManager UpdateManager
Résultat Task

CheckForUpdatesAsync() public méthode

Check for product updates async (Task based).
public CheckForUpdatesAsync ( ) : Task
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

UpdateManager() public méthode

public UpdateManager ( int maximumTimeout ) : System
maximumTimeout int
Résultat System

UpdateProduct() public méthode

public UpdateProduct ( IProductUpdate productUpdate ) : Task
productUpdate IProductUpdate
Résultat Task