Class PerformableEventArgs
- Namespace
- CSF.Screenplay.Actors
- Assembly
- CSF.Screenplay.Abstractions.dll
A model for event arguments which relate to an actor's use of a performable.
public class PerformableEventArgs : ActorEventArgs, IHasPerformanceIdentity
- Inheritance
-
PerformableEventArgs
- Implements
- Derived
- Inherited Members
Constructors
PerformableEventArgs(string, Guid, object, PerformancePhase)
Initializes a new instance of PerformableEventArgs.
public PerformableEventArgs(string actorName, Guid performanceIdentity, object performable, PerformancePhase phase = PerformancePhase.Unspecified)
Parameters
actorName
stringThe actor's name
performanceIdentity
GuidThe actor's performance identity
performable
objectThe performable item
phase
PerformancePhaseThe phase of performance
Properties
Performable
Gets the performable item to which these event arguments relate.
public object Performable { get; }
Property Value
Phase
Gets the performance phase to which these event arguments relate.
public PerformancePhase Phase { get; }