Zum Hauptinhalt springen

BlueprintIdExtensions

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.BlueprintCatalogs

Extension helpers for BlueprintId.

public static class BlueprintIdExtensions

Inheritance Object → BlueprintIdExtensions

Fields​

ServiceManagedNamePrefix​

OctoMesh convention: blueprint names that start with System. are owned and auto-managed by an OctoMesh service (e.g. System.Communication-1.0.0 is applied by the Communication Controller on tenant enable / startup). User-installable blueprints use any other naming prefix.

public static string ServiceManagedNamePrefix;

Remarks:

The check is on the blueprint name, not on the catalog. A service-managed blueprint remains service-managed even if a copy of it shows up in a non-embedded catalog — the Studio uses this flag to hide install / uninstall actions consistently.

Methods​

IsServiceManaged(BlueprintId)​

Returns true when this blueprint is service-managed by OctoMesh — see BlueprintIdExtensions.ServiceManagedNamePrefix.

public static bool IsServiceManaged(BlueprintId blueprintId)

Parameters​

blueprintId BlueprintId

Returns​

Boolean