Class InstallResult
- Namespace
- JD.AI.Core.Installation
- Assembly
- JD.AI.Core.dll
Result of an install or update operation.
public sealed record InstallResult : IEquatable<InstallResult>
- Inheritance
-
InstallResult
- Implements
- Inherited Members
Constructors
InstallResult(bool, string, bool, bool)
Result of an install or update operation.
public InstallResult(bool Success, string Output, bool RequiresRestart = false, bool LaunchedDetached = false)
Parameters
SuccessboolWhether the operation completed successfully.
OutputstringHuman-readable output describing what happened.
RequiresRestartboolWhether the user must restart
jdaiafter applying.LaunchedDetachedboolTrue when the update was launched as a detached background process (Windows self-update). The caller should inform the user to exit and restart; the update will complete after the process exits.
Properties
LaunchedDetached
True when the update was launched as a detached background process (Windows self-update). The caller should inform the user to exit and restart; the update will complete after the process exits.
public bool LaunchedDetached { get; init; }
Property Value
Output
Human-readable output describing what happened.
public string Output { get; init; }
Property Value
RequiresRestart
Whether the user must restart jdai after applying.
public bool RequiresRestart { get; init; }
Property Value
Success
Whether the operation completed successfully.
public bool Success { get; init; }