Table of Contents

Class DecisionReplayDifference

Namespace
ReferenceApplication.Web.Governance.Replay
Assembly
ReferenceApplication.Web.dll

How a replayed decision differs from the recorded one.

public sealed record DecisionReplayDifference : IEquatable<DecisionReplayDifference>
Inheritance
DecisionReplayDifference
Implements
Inherited Members

Constructors

DecisionReplayDifference(bool, bool, IReadOnlyList<string>, IReadOnlyList<string>)

How a replayed decision differs from the recorded one.

public DecisionReplayDifference(bool Matches, bool OutcomeChanged, IReadOnlyList<string> AddedReasonCodes, IReadOnlyList<string> RemovedReasonCodes)

Parameters

Matches bool

Whether the outcome and reason codes are the same.

OutcomeChanged bool

Whether the outcome differs.

AddedReasonCodes IReadOnlyList<string>

Reason codes the replay has that the record does not.

RemovedReasonCodes IReadOnlyList<string>

Reason codes the record has that the replay does not.

Properties

AddedReasonCodes

Reason codes the replay has that the record does not.

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

Property Value

IReadOnlyList<string>

Matches

Whether the outcome and reason codes are the same.

public bool Matches { get; init; }

Property Value

bool

OutcomeChanged

Whether the outcome differs.

public bool OutcomeChanged { get; init; }

Property Value

bool

RemovedReasonCodes

Reason codes the record has that the replay does not.

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

Property Value

IReadOnlyList<string>