Show / Hide Table of Contents

Interface IUpdateProvider

Defines methods to provide a software update.

Namespace: Sartorius.SAF.Infrastructure.SoftwareUpdate
Assembly: Sartorius.SAF.dll
Syntax
public interface IUpdateProvider

Methods

View Source

CancelGetUpdateAsync(UpdateInfo)

Cancels the get process of the software update defined in the updateInfo async.

Declaration
void CancelGetUpdateAsync(UpdateInfo updateInfo)
Parameters
Type Name Description
UpdateInfo updateInfo

The UpdateInfo.

View Source

GetLocalPath()

Gets the path to the location that contains the software updates.

Declaration
string GetLocalPath()
Returns
Type Description
System.String

The path.

View Source

GetUpdateAsync(UpdateInfo)

Gets the software update defined in the updateInfo async. If GetUpdateAsync(UpdateInfo) changes, the GetUpdateProgressChanged is invoked. If GetUpdateAsync(UpdateInfo) changes, the GetUpdateCompleted is invoked.

Declaration
void GetUpdateAsync(UpdateInfo updateInfo)
Parameters
Type Name Description
UpdateInfo updateInfo

The UpdateInfo.

View Source

Locate()

Locates the latest update of the software.

Declaration
UpdateInfo Locate()
Returns
Type Description
UpdateInfo

The UpdateInfo.

Events

View Source

GetUpdateCompleted

Invoked when GetUpdateAsync(UpdateInfo) has been completed.

Declaration
event AsyncCompletedEventHandler GetUpdateCompleted
Event Type
Type Description
System.ComponentModel.AsyncCompletedEventHandler
View Source

GetUpdateProgressChanged

Invoked when GetUpdateAsync(UpdateInfo) changed.

Declaration
event ProgressChangedEventHandler GetUpdateProgressChanged
Event Type
Type Description
System.ComponentModel.ProgressChangedEventHandler

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX