Class DecisionReplayResult
- Namespace
- ReferenceApplication.Web.Governance.Replay
- Assembly
- ReferenceApplication.Web.dll
A decision replayed against the current policy and, optionally, a candidate policy. Nothing in it was persisted.
public sealed record DecisionReplayResult : IEquatable<DecisionReplayResult>
- Inheritance
-
DecisionReplayResult
- Implements
- Inherited Members
Constructors
DecisionReplayResult(DecisionReplayDetails, DecisionReplayEvaluation, DecisionReplayEvaluation?)
A decision replayed against the current policy and, optionally, a candidate policy. Nothing in it was persisted.
public DecisionReplayResult(DecisionReplayDetails Decision, DecisionReplayEvaluation Current, DecisionReplayEvaluation? Candidate)
Parameters
DecisionDecisionReplayDetailsThe persisted decision.
CurrentDecisionReplayEvaluationThe replay against the current policy.
CandidateDecisionReplayEvaluationThe what-if replay against the candidate policy, when one was asked for.
Properties
Candidate
The what-if replay against the candidate policy, when one was asked for.
public DecisionReplayEvaluation? Candidate { get; init; }
Property Value
Current
The replay against the current policy.
public DecisionReplayEvaluation Current { get; init; }
Property Value
Decision
The persisted decision.
public DecisionReplayDetails Decision { get; init; }