Zum Hauptinhalt springen

BlueprintUninstallResult

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

Outcome of IBlueprintService.UninstallAsync(String, String, Boolean, CancellationToken).

public class BlueprintUninstallResult

Inheritance Object → BlueprintUninstallResult

Properties​

Success​

Whether the uninstall completed without errors.

public bool Success { get; set; }

Property Value​

Boolean

UninstalledBlueprintId​

Blueprint that was uninstalled (the explicit target, not the cascaded dependencies). Null when the operation was rejected before any state changed.

public BlueprintId UninstalledBlueprintId { get; set; }

Property Value​

BlueprintId

EntitiesDeleted​

Number of locked entities erased from the tenant.

public int EntitiesDeleted { get; set; }

Property Value​

Int32

CascadedDependencies​

Blueprint ids that were cascade-uninstalled because they were marked IsDependency = true and no longer referenced. Empty when the caller did not request cascade or no orphan deps were found.

public List<BlueprintId> CascadedDependencies { get; set; }

Property Value​

List<BlueprintId>

BlockingDependents​

Other installed blueprints that still depend on the target. Populated when uninstall is blocked because BlueprintUninstallResult.Success is false and the caller did not pass cascade=true.

public List<BlueprintId> BlockingDependents { get; set; }

Property Value​

List<BlueprintId>

Errors​

Errors emitted during the operation.

public List<string> Errors { get; set; }

Property Value​

List<String>

Warnings​

Warnings emitted during the operation.

public List<string> Warnings { get; set; }

Property Value​

List<String>

Constructors​

BlueprintUninstallResult()​

public BlueprintUninstallResult()