Skip to main content

BlueprintResolutionResult

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

Outcome of IBlueprintDependencyResolver.ResolveAsync(BlueprintId, CancellationToken).

public class BlueprintResolutionResult

Inheritance ObjectBlueprintResolutionResult

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>

Constructors

BlueprintResolutionResult()

Caution

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


public BlueprintResolutionResult()