Class GainAbilityEventArgs
- Namespace
- CSF.Screenplay.Actors
- Assembly
- CSF.Screenplay.Abstractions.dll
A model for event arguments which relate to an actor gaining a new ability.
public class GainAbilityEventArgs : ActorEventArgs, IHasPerformanceIdentity
- Inheritance
-
GainAbilityEventArgs
- Implements
- Inherited Members
Constructors
GainAbilityEventArgs(string, Guid, object)
Initializes a new instance of GainAbilityEventArgs.
public GainAbilityEventArgs(string actorName, Guid performanceIdentity, object ability)
Parameters
actorName
stringThe actor's name
performanceIdentity
GuidThe actor's performance identity
ability
objectThe ability
Properties
Ability
Gets the ability which the actor has gained
public object Ability { get; }