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
MatchesboolWhether the outcome and reason codes are the same.
OutcomeChangedboolWhether the outcome differs.
AddedReasonCodesIReadOnlyList<string>Reason codes the replay has that the record does not.
RemovedReasonCodesIReadOnlyList<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
Matches
Whether the outcome and reason codes are the same.
public bool Matches { get; init; }
Property Value
OutcomeChanged
Whether the outcome differs.
public bool OutcomeChanged { get; init; }
Property Value
RemovedReasonCodes
Reason codes the record has that the replay does not.
public IReadOnlyList<string> RemovedReasonCodes { get; init; }