Table of Contents

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

Evaluated bool

Whether the evaluator ran, which it does whenever the endpoint declares a policy.

ComposedOutcome string

The decision composed from the constraint results.

ComposedReasonCodes IReadOnlyList<string>

The composed decision's reason codes.

Outcome string

The decision after the decision policy.

ReasonCodes IReadOnlyList<string>

The final decision's reason codes.

Changed bool

Whether the decision policy changed the composed decision.

Properties

Changed

Whether the decision policy changed the composed decision.

public bool Changed { get; init; }

Property Value

bool

ComposedOutcome

The decision composed from the constraint results.

public string? ComposedOutcome { get; init; }

Property Value

string

ComposedReasonCodes

The composed decision's reason codes.

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

Property Value

IReadOnlyList<string>

Evaluated

Whether the evaluator ran, which it does whenever the endpoint declares a policy.

public bool Evaluated { get; init; }

Property Value

bool

Outcome

The decision after the decision policy.

public string? Outcome { get; init; }

Property Value

string

ReasonCodes

The final decision's reason codes.

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

Property Value

IReadOnlyList<string>