Table of Contents

Interface IUpdaterComponent

Namespace
CarinaStudio.AutoUpdate
Assembly
CarinaStudio.AppBase.AutoUpdate.dll

Interface of component of Updater.

public interface IUpdaterComponent : IDisposable, INotifyPropertyChanged, IThreadDependent, ISynchronizable
Inherited Members
Extension Methods

Properties

Exception

Get Exception occurred when performing operation.

Exception? Exception { get; }

Property Value

Exception

Progress

Get progress of operation performed by this component. The range is [0.0, 1.0] or NaN if progress is unknown.

double Progress { get; }

Property Value

double

State

Get current state.

UpdaterComponentState State { get; }

Property Value

UpdaterComponentState

Methods

Cancel()

Cancel the operation performed by this component.

bool Cancel()

Returns

bool

True if operation cancelled successfully.

Start()

Start performing operation.

bool Start()

Returns

bool

True if operation started successfully.