Table of Contents

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

Success bool

Whether the operation completed successfully.

Output string

Human-readable output describing what happened.

RequiresRestart bool

Whether the user must restart jdai after applying.

LaunchedDetached bool

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.

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

bool

Output

Human-readable output describing what happened.

public string Output { get; init; }

Property Value

string

RequiresRestart

Whether the user must restart jdai after applying.

public bool RequiresRestart { get; init; }

Property Value

bool

Success

Whether the operation completed successfully.

public bool Success { get; init; }

Property Value

bool