Table of Contents

Class UpdateChecker

Namespace
EchoHub.Client.Services
Assembly
EchoHub.Client.dll
public sealed class UpdateChecker : IDisposable
Inheritance
UpdateChecker
Implements
Inherited Members

Constructors

UpdateChecker(IApplication)

public UpdateChecker(IApplication app)

Parameters

app IApplication

Properties

CurrentVersion

public static string CurrentVersion { get; }

Property Value

string

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()