Skip to main content

BlueprintsCacheDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.BlueprintCatalogs.DataTransferObjects

Build-time inventory written by the BlueprintEmbed MSBuild task and consumed by the BlueprintSourceGenerator. Lists every blueprint version embedded as a resource in the consuming assembly, with the metadata the generator needs to emit IBlueprintEmbeddedSource implementations and the DI extension methods.

public class BlueprintsCacheDto

Inheritance Object → BlueprintsCacheDto

Remarks:

Schema URI: https://schemas.meshmakers.cloud/blueprints-cache.schema.json. The file format is versioned via the BlueprintsCacheDto.Version field so the generator can reject incompatible caches loudly instead of producing silently-broken output.

Properties​

Schema​

Optional schema URI (mirrored from the file's $schema property).

public string Schema { get; set; }

Property Value​

String

Version​

Format version. Currently always "1".

public string Version { get; set; }

Property Value​

String

Blueprints​

Every blueprint version discovered under one or more <BlueprintFolder> items in the host project. Order is the discovery order (alphabetical by Name, then ascending by version).

public List<BlueprintsCacheEntryDto> Blueprints { get; set; }

Property Value​

List<BlueprintsCacheEntryDto>

Constructors​

BlueprintsCacheDto()​

public BlueprintsCacheDto()