< Summary

Information
Class: AsiBackbone.EntityFrameworkCore.Persistence.AsiBackboneHandshakeAcknowledgmentEntity
Assembly: AsiBackbone.EntityFrameworkCore
File(s): /home/runner/work/AsiBackbone/AsiBackbone/src/AsiBackbone.EntityFrameworkCore/Persistence/AsiBackboneHandshakeAcknowledgmentEntity.cs
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 66
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_AcknowledgmentId()100%11100%
get_SchemaVersion()100%11100%
get_HandshakeId()100%11100%
get_ActorId()100%11100%
get_ActorType()100%11100%
get_ActorDisplayName()100%11100%
get_AcknowledgmentCode()100%11100%
get_Acknowledged()100%11100%
get_OccurredUtc()100%11100%
get_CorrelationId()100%11100%
get_TraceId()100%11100%

File(s)

/home/runner/work/AsiBackbone/AsiBackbone/src/AsiBackbone.EntityFrameworkCore/Persistence/AsiBackboneHandshakeAcknowledgmentEntity.cs

#LineLine coverage
 1using AsiBackbone.Core.Actors;
 2using AsiBackbone.Core.Entities;
 3using AsiBackbone.Core.Serialization;
 4
 5namespace AsiBackbone.EntityFrameworkCore.Persistence;
 6
 7/// <summary>
 8/// Represents the Entity Framework Core persistence shape for an AsiBackbone handshake acknowledgment.
 9/// </summary>
 10public sealed class AsiBackboneHandshakeAcknowledgmentEntity : AsiBackboneEntity
 11{
 12    /// <summary>
 13    /// Gets or sets the stable acknowledgment identifier.
 14    /// </summary>
 2015    public string AcknowledgmentId { get; set; } = string.Empty;
 16
 17    /// <summary>
 18    /// Gets or sets the serialized schema version for this handshake acknowledgment.
 19    /// </summary>
 2020    public string SchemaVersion { get; set; } = AsiBackboneSchemaVersions.StableArtifactsV1;
 21
 22    /// <summary>
 23    /// Gets or sets the handshake identifier associated with the acknowledgment.
 24    /// </summary>
 2225    public string HandshakeId { get; set; } = string.Empty;
 26
 27    /// <summary>
 28    /// Gets or sets the stable actor identifier associated with the acknowledgment.
 29    /// </summary>
 2030    public string ActorId { get; set; } = string.Empty;
 31
 32    /// <summary>
 33    /// Gets or sets the actor type associated with the acknowledgment.
 34    /// </summary>
 835    public AsiBackboneActorType ActorType { get; set; }
 36
 37    /// <summary>
 38    /// Gets or sets the optional display name or label associated with the actor.
 39    /// </summary>
 640    public string? ActorDisplayName { get; set; }
 41
 42    /// <summary>
 43    /// Gets or sets the acknowledgment code accepted or rejected by the actor.
 44    /// </summary>
 2045    public string AcknowledgmentCode { get; set; } = string.Empty;
 46
 47    /// <summary>
 48    /// Gets or sets a value indicating whether the required acknowledgment was accepted.
 49    /// </summary>
 1050    public bool Acknowledged { get; set; }
 51
 52    /// <summary>
 53    /// Gets or sets the UTC timestamp when the acknowledgment response occurred.
 54    /// </summary>
 655    public DateTimeOffset OccurredUtc { get; set; }
 56
 57    /// <summary>
 58    /// Gets or sets the correlation identifier associated with the acknowledgment, when supplied by the host.
 59    /// </summary>
 860    public string? CorrelationId { get; set; }
 61
 62    /// <summary>
 63    /// Gets or sets the trace identifier associated with the acknowledgment, when supplied by the host.
 64    /// </summary>
 865    public string? TraceId { get; set; }
 66}