< Summary

Information
Class: AsiBackbone.Core.Constraints.IGovernanceEvaluationContext
Assembly: AsiBackbone.Core
File(s): /home/runner/work/AsiBackbone/AsiBackbone/src/AsiBackbone.Core/Constraints/IGovernanceEvaluationContext.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 35
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_TraceId()100%11100%

File(s)

/home/runner/work/AsiBackbone/AsiBackbone/src/AsiBackbone.Core/Constraints/IGovernanceEvaluationContext.cs

#LineLine coverage
 1namespace AsiBackbone.Core.Constraints;
 2
 3/// <summary>
 4/// Represents framework-neutral context data commonly useful during constraint evaluation.
 5/// </summary>
 6public interface IGovernanceEvaluationContext
 7{
 8    /// <summary>
 9    /// Gets the correlation identifier associated with the evaluation, when supplied by the host.
 10    /// </summary>
 11    string? CorrelationId { get; }
 12
 13    /// <summary>
 14    /// Gets the trace identifier associated with the evaluation, when supplied by the host.
 15    /// </summary>
 16    /// <remarks>
 17    /// The default implementation preserves source and binary compatibility for existing host-defined contexts.
 18    /// </remarks>
 14719    string? TraceId => null;
 20
 21    /// <summary>
 22    /// Gets the policy version associated with the evaluation, when supplied by the host.
 23    /// </summary>
 24    string? PolicyVersion { get; }
 25
 26    /// <summary>
 27    /// Gets the policy hash associated with the evaluation, when supplied by the host.
 28    /// </summary>
 29    string? PolicyHash { get; }
 30
 31    /// <summary>
 32    /// Gets additional framework-neutral metadata supplied by the host.
 33    /// </summary>
 34    IReadOnlyDictionary<string, string> Metadata { get; }
 35}

Methods/Properties

get_TraceId()