Class UpdatePrompter
Renders update notifications and handles the interactive update flow.
public static class UpdatePrompter
- Inheritance
-
UpdatePrompter
- Inherited Members
Methods
FormatNotification(UpdateInfo)
Non-interactive notification (used after background check completes). Returns the formatted message for display.
public static string FormatNotification(UpdateInfo info)
Parameters
infoUpdateInfo
Returns
PromptAsync(UpdateInfo, CancellationToken)
Shows an update notification and optionally runs the update. Returns true if the user updated and should restart.
[ExcludeFromCodeCoverage]
public static Task<bool> PromptAsync(UpdateInfo info, CancellationToken ct = default)
Parameters
infoUpdateInfoctCancellationToken