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
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
State
Get current state.
UpdaterComponentState State { get; }
Property Value
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.