Class UpdateChecker
public sealed class UpdateChecker : IDisposable
- Inheritance
-
UpdateChecker
- Implements
- Inherited Members
Constructors
UpdateChecker(IApplication)
public UpdateChecker(IApplication app)
Parameters
appIApplication
Properties
CurrentVersion
public static string CurrentVersion { get; }
Property Value
PendingUpdate
Set when the user confirms an update. The host runs this after the Terminal.Gui main loop has exited and the console is restored, so the library's in-place restart doesn't deadlock against a TUI that still owns the console.
public Func<Task>? PendingUpdate { get; }
Property Value
- Func<Task>
Methods
CheckNowAsync()
public Task CheckNowAsync()
Returns
- Task
Dispose()
public void Dispose()
Start()
public void Start()