Class BlockGraphBuilder.BuiltGraph

The result of a graph build: every block that could be created, keyed by node name, and everything that could not.

Inheritance
BlockGraphBuilder.BuiltGraph
Namespace: MOSAIC.Components.Factory
Assembly: MOSAIC.dll
Syntax
public sealed record BlockGraphBuilder.BuiltGraph : IEquatable<BlockGraphBuilder.BuiltGraph>

Constructors

BuiltGraph(IReadOnlyDictionary<string, object>, IReadOnlyList<BuildFailure>)

The result of a graph build: every block that could be created, keyed by node name, and everything that could not.

Declaration
public BuiltGraph(IReadOnlyDictionary<string, object> Instances, IReadOnlyList<BlockGraphBuilder.BuildFailure> Failures)
Parameters
Type Name Description
IReadOnlyDictionary<string, object> Instances

A read-only dictionary mapping node keys to their created block instances.

IReadOnlyList<BlockGraphBuilder.BuildFailure> Failures

Blocks that could not be created and connections that could not be made, in build order. Empty when the whole graph loaded.

Properties

Failures

Blocks that could not be created and connections that could not be made, in build order. Empty when the whole graph loaded.

Declaration
public IReadOnlyList<BlockGraphBuilder.BuildFailure> Failures { get; init; }
Property Value
Type Description
IReadOnlyList<BlockGraphBuilder.BuildFailure>

Instances

A read-only dictionary mapping node keys to their created block instances.

Declaration
public IReadOnlyDictionary<string, object> Instances { get; init; }
Property Value
Type Description
IReadOnlyDictionary<string, object>

Implements

IEquatable<T>

Search documentation

Start typing to search the documentation.