Table of Contents

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

RecordedVersion string

The recorded policy version.

RecordedHash string

The recorded policy hash.

CurrentVersion string

The current policy version.

CurrentHash string

The current policy hash.

Matches bool

Whether the recorded hash is the current one.

EndpointDeclarationsChanged bool

Whether the endpoint's governance declarations differ from the recorded ones.

Notices IReadOnlyList<string>

What a reader should know before replaying.

Properties

CurrentHash

The current policy hash.

public string CurrentHash { get; init; }

Property Value

string

CurrentVersion

The current policy version.

public string CurrentVersion { get; init; }

Property Value

string

EndpointDeclarationsChanged

Whether the endpoint's governance declarations differ from the recorded ones.

public bool EndpointDeclarationsChanged { get; init; }

Property Value

bool

Matches

Whether the recorded hash is the current one.

public bool Matches { get; init; }

Property Value

bool

Notices

What a reader should know before replaying.

public IReadOnlyList<string> Notices { get; init; }

Property Value

IReadOnlyList<string>

RecordedHash

The recorded policy hash.

public string? RecordedHash { get; init; }

Property Value

string

RecordedVersion

The recorded policy version.

public string? RecordedVersion { get; init; }

Property Value

string