Class PolicySimulationDecisionPolicyStage
- Namespace
- ReferenceApplication.Web.Governance.Simulation
- Assembly
- ReferenceApplication.Web.dll
The composed decision and the decision-policy step applied to it.
public sealed record PolicySimulationDecisionPolicyStage : IEquatable<PolicySimulationDecisionPolicyStage>
- Inheritance
-
PolicySimulationDecisionPolicyStage
- Implements
- Inherited Members
Constructors
PolicySimulationDecisionPolicyStage(bool, string?, IReadOnlyList<string>, string?, IReadOnlyList<string>, bool)
The composed decision and the decision-policy step applied to it.
public PolicySimulationDecisionPolicyStage(bool Evaluated, string? ComposedOutcome, IReadOnlyList<string> ComposedReasonCodes, string? Outcome, IReadOnlyList<string> ReasonCodes, bool Changed)
Parameters
EvaluatedboolWhether the evaluator ran, which it does whenever the endpoint declares a policy.
ComposedOutcomestringThe decision composed from the constraint results.
ComposedReasonCodesIReadOnlyList<string>The composed decision's reason codes.
OutcomestringThe decision after the decision policy.
ReasonCodesIReadOnlyList<string>The final decision's reason codes.
ChangedboolWhether the decision policy changed the composed decision.
Properties
Changed
Whether the decision policy changed the composed decision.
public bool Changed { get; init; }
Property Value
ComposedOutcome
The decision composed from the constraint results.
public string? ComposedOutcome { get; init; }
Property Value
ComposedReasonCodes
The composed decision's reason codes.
public IReadOnlyList<string> ComposedReasonCodes { get; init; }
Property Value
Evaluated
Whether the evaluator ran, which it does whenever the endpoint declares a policy.
public bool Evaluated { get; init; }
Property Value
Outcome
The decision after the decision policy.
public string? Outcome { get; init; }
Property Value
ReasonCodes
The final decision's reason codes.
public IReadOnlyList<string> ReasonCodes { get; init; }