Table of Contents

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

ActorId string

The governance actor identifier, taken from the signed-in actor.

DisplayName string

The actor display name, when known.

Administrator bool

Whether the simulated actor holds a configured administrator role.

ConsequentialCapability bool

Whether the simulated actor holds the consequential-execution capability claim.

MatchesSignedInActor bool

Whether 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

string

Administrator

Whether the simulated actor holds a configured administrator role.

public bool Administrator { get; init; }

Property Value

bool

ConsequentialCapability

Whether the simulated actor holds the consequential-execution capability claim.

public bool ConsequentialCapability { get; init; }

Property Value

bool

DisplayName

The actor display name, when known.

public string? DisplayName { get; init; }

Property Value

string

MatchesSignedInActor

Whether the simulated role and capability match the signed-in actor's.

public bool MatchesSignedInActor { get; init; }

Property Value

bool