BlueprintAppliedNotification
Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints
public record BlueprintAppliedNotification : IEquatable<BlueprintAppliedNotification>
Inheritance Object → BlueprintAppliedNotification
Implements IEquatable<BlueprintAppliedNotification>
Properties
TenantId
Target tenant.
public string TenantId { get; set; }
Property Value
BlueprintId
Blueprint that was applied.
public BlueprintId BlueprintId { get; set; }
Property Value
BlueprintId
ApplicationMode
How the application occurred (Initial, Update, Migration, ReApply).
public BlueprintApplicationMode ApplicationMode { get; set; }
Property Value
EntitiesAdded
Entities created during application.
public int EntitiesAdded { get; set; }
Property Value
EntitiesUpdated
Entities updated during application.
public int EntitiesUpdated { get; set; }
Property Value
EntitiesDeleted
Entities deleted during application.
public int EntitiesDeleted { get; set; }
Property Value
CorrelationId
Correlates this notification with other events from the same operation.
public Guid CorrelationId { get; set; }
Property Value
Timestamp
When the operation completed.
public DateTime Timestamp { get; set; }
Property Value
CkModelDependencies
Names of the CK models the applied blueprint depends on: the direct CK model dependencies of the
blueprint and of every blueprint the apply resolved for it, distinct and sorted ordinally. Services use it to
switch on the capability a blueprint needs (e.g. System.Communication, System.Ai).
null when the raising engine does not report it (older engines); consumers then must not derive a
capability from the event.
public IReadOnlyList<string> CkModelDependencies { get; set; }
Property Value
Remarks:
An init-only property instead of a positional parameter, so the constructor and Deconstruct of the
record stay binary compatible with callers compiled against an older engine.
Constructors
BlueprintAppliedNotification(String, BlueprintId, BlueprintApplicationMode, Int32, Int32, Int32, Guid, DateTime)
public BlueprintAppliedNotification(string TenantId, BlueprintId BlueprintId, BlueprintApplicationMode ApplicationMode, int EntitiesAdded, int EntitiesUpdated, int EntitiesDeleted, Guid CorrelationId, DateTime Timestamp)
Parameters
TenantId String
Target tenant.
BlueprintId BlueprintId
Blueprint that was applied.
ApplicationMode BlueprintApplicationMode
How the application occurred (Initial, Update, Migration, ReApply).
EntitiesAdded Int32
Entities created during application.
EntitiesUpdated Int32
Entities updated during application.
EntitiesDeleted Int32
Entities deleted during application.
CorrelationId Guid
Correlates this notification with other events from the same operation.
Timestamp DateTime
When the operation completed.