Class PolicySimulationConstraintStage
- Namespace
- ReferenceApplication.Web.Governance.Simulation
- Assembly
- ReferenceApplication.Web.dll
One constraint's part in the simulated evaluation.
public sealed record PolicySimulationConstraintStage : IEquatable<PolicySimulationConstraintStage>
- Inheritance
-
PolicySimulationConstraintStage
- Implements
- Inherited Members
Constructors
PolicySimulationConstraintStage(int, string, bool, bool, string?, IReadOnlyList<string>)
One constraint's part in the simulated evaluation.
public PolicySimulationConstraintStage(int Order, string Name, bool Disabled, bool Evaluated, string? Outcome, IReadOnlyList<string> ReasonCodes)
Parameters
OrderintThe constraint's position in evaluation order, starting at 1.
NamestringThe constraint name.
DisabledboolWhether the constraint was left out of the simulated policy.
EvaluatedboolWhether the evaluator ran the constraint.
OutcomestringThe constraint outcome, when it ran.
ReasonCodesIReadOnlyList<string>The constraint's reason codes.
Properties
Disabled
Whether the constraint was left out of the simulated policy.
public bool Disabled { get; init; }
Property Value
Evaluated
Whether the evaluator ran the constraint.
public bool Evaluated { get; init; }
Property Value
Name
The constraint name.
public string Name { get; init; }
Property Value
Order
The constraint's position in evaluation order, starting at 1.
public int Order { get; init; }
Property Value
Outcome
The constraint outcome, when it ran.
public string? Outcome { get; init; }
Property Value
ReasonCodes
The constraint's reason codes.
public IReadOnlyList<string> ReasonCodes { get; init; }