Class DecisionReplayPolicyComparison
- Namespace
- ReferenceApplication.Web.Governance.Replay
- Assembly
- ReferenceApplication.Web.dll
The policy a decision was recorded under, compared with the current one.
public sealed record DecisionReplayPolicyComparison : IEquatable<DecisionReplayPolicyComparison>
- Inheritance
-
DecisionReplayPolicyComparison
- Implements
- Inherited Members
Constructors
DecisionReplayPolicyComparison(string?, string?, string, string, bool, bool, IReadOnlyList<string>)
The policy a decision was recorded under, compared with the current one.
public DecisionReplayPolicyComparison(string? RecordedVersion, string? RecordedHash, string CurrentVersion, string CurrentHash, bool Matches, bool EndpointDeclarationsChanged, IReadOnlyList<string> Notices)
Parameters
RecordedVersionstringThe recorded policy version.
RecordedHashstringThe recorded policy hash.
CurrentVersionstringThe current policy version.
CurrentHashstringThe current policy hash.
MatchesboolWhether the recorded hash is the current one.
EndpointDeclarationsChangedboolWhether the endpoint's governance declarations differ from the recorded ones.
NoticesIReadOnlyList<string>What a reader should know before replaying.
Properties
CurrentHash
The current policy hash.
public string CurrentHash { get; init; }
Property Value
CurrentVersion
The current policy version.
public string CurrentVersion { get; init; }
Property Value
EndpointDeclarationsChanged
Whether the endpoint's governance declarations differ from the recorded ones.
public bool EndpointDeclarationsChanged { get; init; }
Property Value
Matches
Whether the recorded hash is the current one.
public bool Matches { get; init; }
Property Value
Notices
What a reader should know before replaying.
public IReadOnlyList<string> Notices { get; init; }
Property Value
RecordedHash
The recorded policy hash.
public string? RecordedHash { get; init; }
Property Value
RecordedVersion
The recorded policy version.
public string? RecordedVersion { get; init; }