Class PolicySimulationActor
- Namespace
- ReferenceApplication.Web.Governance.Simulation
- Assembly
- ReferenceApplication.Web.dll
The simulated actor.
public sealed record PolicySimulationActor : IEquatable<PolicySimulationActor>
- Inheritance
-
PolicySimulationActor
- Implements
- Inherited Members
Constructors
PolicySimulationActor(string, string?, bool, bool, bool)
The simulated actor.
public PolicySimulationActor(string ActorId, string? DisplayName, bool Administrator, bool ConsequentialCapability, bool MatchesSignedInActor)
Parameters
ActorIdstringThe governance actor identifier, taken from the signed-in actor.
DisplayNamestringThe actor display name, when known.
AdministratorboolWhether the simulated actor holds a configured administrator role.
ConsequentialCapabilityboolWhether the simulated actor holds the consequential-execution capability claim.
MatchesSignedInActorboolWhether the simulated role and capability match the signed-in actor's.
Properties
ActorId
The governance actor identifier, taken from the signed-in actor.
public string ActorId { get; init; }
Property Value
Administrator
Whether the simulated actor holds a configured administrator role.
public bool Administrator { get; init; }
Property Value
ConsequentialCapability
Whether the simulated actor holds the consequential-execution capability claim.
public bool ConsequentialCapability { get; init; }
Property Value
DisplayName
The actor display name, when known.
public string? DisplayName { get; init; }
Property Value
MatchesSignedInActor
Whether the simulated role and capability match the signed-in actor's.
public bool MatchesSignedInActor { get; init; }