Zum Hauptinhalt springen

BlueprintResolutionResult

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

Outcome of IBlueprintDependencyResolver.ResolveAsync(BlueprintId, CancellationToken).

public class BlueprintResolutionResult

Inheritance Object → BlueprintResolutionResult

Properties​

RootBlueprintId​

The blueprint the resolver was asked to plan.

public BlueprintId RootBlueprintId { get; set; }

Property Value​

BlueprintId

Success​

true when the install plan is safe to execute. false when BlueprintResolutionResult.Conflicts is non-empty.

public bool Success { get; set; }

Property Value​

Boolean

InstallOrder​

Blueprints to install, base dependencies first and the root last. Empty when BlueprintResolutionResult.Success is false.

public List<BlueprintMetaRootDto> InstallOrder { get; set; }

Property Value​

List<BlueprintMetaRootDto>

Conflicts​

Dependency-graph conflicts that block the plan. Each entry describes one detected problem; the resolver does not stop on the first conflict so callers can present a complete picture.

public List<BlueprintResolutionConflict> Conflicts { get; set; }

Property Value​

List<BlueprintResolutionConflict>

Warnings​

Non-blocking advisories surfaced during resolution.

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

Property Value​

List<String>

DependencyRanges​

Every version range declared on a dependency, keyed by blueprint name. A dependency that is already installed on the tenant in a version satisfying all of its ranges is kept, even when BlueprintResolutionResult.InstallOrder carries a different (e.g. lower) catalog version — a range floor is a minimum, never a target. Empty for the root and for dependency-free plans.

public Dictionary<string, List<BlueprintIdVersionRange>> DependencyRanges { get; set; }

Property Value​

Dictionary<String, List<BlueprintIdVersionRange>>

Constructors​

BlueprintResolutionResult()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public BlueprintResolutionResult()